Not really, as far as I can tell. Have a look at http://www.castor.org/how-to-map-a-hashtable.html
for examples of how to map java.util.Maps and derivatives thereof, and have a look at http://svn.castor.codehaus.org/browse/castor/castor/trunk/xmlctf/tests/MasterTestSuite/mapping/collections/Maps for sample code (that's part of the internal test suite) that shows how to go about mapping various scenarios. Regards Werner Mradul Awasthi wrote: > Hi, > > Is it possible to map following xml > > <?xml version="1.0" encoding="UTF-8"?> > <Model name="Retail" > id="c5051678-64a1-4e0f-b2e4" kind="Application" > annotation="Retail" ignoreThis="True"> > </Model> > > > attribute in tree map > > private java.util.TreeMap<String, String> attr; > > public java.util.TreeMap<String, String> getAttr() { > return attr; > } > > public void setAttr(java.util.TreeMap<String, String> attr) { > this.attr = attr; > } > > > > System.out.println(appItem.getAttr()); > > above state ment would give out like this. > > {annotation=Retail, id=c5051678-64a1-4e0f-b2e4, kind=Application, name=Retail} > > Thanks > > Mradul > > > > ____________________________________________________________________________________ > Looking for a deal? Find great prices on flights and hotels with Yahoo! > FareChase. > http://farechase.yahoo.com/ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

