XStream Java XML Java Mapping
From Kb
Contact Article Author | Blog of Article Author | FirstPartners.net Home | LinkedIn profile of Author
See Also
Apache JAXB Java XML Java Transformations
Overview
- XStream XStream is a simple library to serialize objects to XML and back again
- Homepage is at: http://xstream.codehaus.org/
Usage
XStream xstream = new XStream(); xstream.alias("person", Person.class); xstream.alias("phonenumber", PhoneNumber.class); String xml = xstream.toXML(joe);

