On Sun, 2006-04-02 at 10:22 -0400, David Gagnon wrote:
> Hi all,
> 
> I'm searching a way to marshal a hashmap that contains custom type like 
> a CivicAddress, PhoneNumber into an XML file.
> 
> I need to be able to read this XML and getting back the same HashMap 
> with the same properties.The properties in the Map aren't known.
> 
> I look into betwixt to find an answer as well as Castor, XMLBeans, JAXB 
> after trying stuff for few hours .. im just lost:-(

maps are a controversial subject in the xml binding community: there's
not a really naturally way to express them.

> Is that possible to do this with betwixt .. or any other XML framework?
> Thanks to share your knowledge with me :-)

betwixt supports maps. see the section on in
http://jakarta.apache.org/commons/betwixt/guide/binding.html

- robert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to