public final String toXml ( ) { try { final JaxbHelper helper = new JaxbHelper ( ) ; return helper . write ( this , createJaxbContext ( ) ) ; } catch ( final MarshalObjectException ex ) { throw new RuntimeException ( ex ) ; } }
Marshals the object to an XML String .