question: private String marshal ( Marshaller marshaller , Object o ) throws IOException { Writer writer = new StringWriter ( ) ; marshaller . marshal ( o , new StreamResult ( writer ) ) ; String xml = writer . toString ( ) ; LOGGER . debug ( "\n" + xml ) ; return xml ; }
target:  Marshalls an object to an XML, returned as a String instance.