users@jaxb.java.net

HashMaps and Jaxb2

From: jaki <jackie_james_at_infosys.com>
Date: Tue, 10 Jun 2008 23:13:54 -0700 (PDT)

Hi All,

Is there a way to customize marshalling of Hashmaps? By default, marshalling
a hashmap would give you an output as below:

<entry>
<key>keycontent</key>
<value>valuecontent</value>
</entry>

Is there a way to get rid of the key and value tags and have their contents
act as elements and values (eg: <entry>
<keycontent>valuecontent</keycontent>) ?
-- 
View this message in context: http://www.nabble.com/HashMaps-and-Jaxb2-tp17770776p17770776.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.