class XmlHelper {

    public String objectToXml(Object obj) throws JAXBException
    {
        // By default, we do not ask the marshalled XML data to be formatted with line feeds and indentation.
        return objectToXml(obj, false);
    }

}