@ Nonnull @ OverrideOnDemand protected Marshaller createMarshaller ( ) throws JAXBException { final JAXBContext aJAXBContext = getJAXBContext ( ) ; // create a Marshaller final Marshaller aMarshaller = aJAXBContext . createMarshaller ( ) ; // Validating (if possible) final Schema aSchema = getSchema ( ) ; if ( aSchema != null ) aMarshaller . setSchema ( aSchema ) ; return aMarshaller ; }
Create the main marshaller with the contained settings .