public static Marshaller createMarshaller ( ) throws JAXBException { Marshaller marshaller = MessageUtilsHelper . getContext ( ) . createMarshaller ( ) ; marshaller . setProperty ( Marshaller . JAXB_FORMATTED_OUTPUT , Boolean . TRUE ) ; return marshaller ; }
Create Marshaller from the JAXB context .