A collection of useful XML utilities
Object to XML
String xml = XmlUtils.objectToXml(myObject);
XML to Object
MyClass myObject = XmlUtils.xmlToObject(xml, MyClass.class);