Uses of Class
com.helger.jaxb.GenericJAXBMarshaller
Packages that use GenericJAXBMarshaller
-
Uses of GenericJAXBMarshaller in com.helger.jaxb
Methods in com.helger.jaxb that return GenericJAXBMarshallerModifier and TypeMethodDescriptionfinal GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setCharset(Charset aCharset) Set the charset to be used for writing JAXB objects.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setCollectErrors(com.helger.commons.error.list.ErrorList aErrorList) Special overload ofsetValidationEventHandler(ValidationEventHandler)for the easy version of just collecting the errors and additionally invoking the old validation handler.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setFormattedOutput(boolean bWriteFormatted) Change the way formatting happens when calling write.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setIndentString(String sIndentString) Set the indent string to be used for writing JAXB objects.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setNamespaceContext(NamespaceContext aNSContext) Set the namespace context (prefix to namespace URL mapping) to be used.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setNoNamespaceSchemaLocation(String sNoNamespaceSchemaLocation) Set the no namespace schema location to be used for writing JAXB objects.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setSchemaLocation(String sSchemaLocation) Set the schema location to be used for writing JAXB objects.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setUseContextCache(boolean bUseContextCache) Change whether the context cache should be used or not.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setUseSchema(boolean bUseSchema) Enable or disable the usage of an eventually configured XML Schema.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setValidationEventHandler(jakarta.xml.bind.ValidationEventHandler aEventHandler) Set the JAXB validation event handler to be used.final GenericJAXBMarshaller<JAXBTYPE>GenericJAXBMarshaller.setValidationEventHandlerFactory(IValidationEventHandlerFactory aVEHFactory) Deprecated, for removal: This API element is subject to removal in a future version.Set the validation event handler manually.