JAXBTYPE - The JAXB implementation class to be handledIMPLTYPE - The implementation class implementing this abstract class.@NotThreadSafe public abstract class AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE extends AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE>> extends AbstractJAXBBuilder<IMPLTYPE>
m_aDocType| Constructor and Description |
|---|
AbstractWritingJAXBBuilder(IJAXBDocumentType aDocType) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> JAXBElement<T> |
createJAXBElement(T aValue) |
protected Marshaller |
createMarshaller()
Create the main marshaller with the contained settings.
|
Consumer<? super Marshaller> |
getMarshallerCustomizer() |
IMPLTYPE |
setMarshallerCustomizer(Consumer<? super Marshaller> aMarshallerCustomizer) |
exceptionCallbacks, getClassLoader, getJAXBContext, getJAXBDocumentType, getSchema, isUseJAXBContextCache, isUseSchema, setUseJAXBContextCache, setUseSchema, toStringpublic AbstractWritingJAXBBuilder(@Nonnull IJAXBDocumentType aDocType)
@Nullable public final Consumer<? super Marshaller> getMarshallerCustomizer()
@Nonnull public final IMPLTYPE setMarshallerCustomizer(@Nullable Consumer<? super Marshaller> aMarshallerCustomizer)
@Nonnull @OverrideOnDemand protected Marshaller createMarshaller() throws JAXBException
null.JAXBException - In case creation fails@Nonnull protected <T> JAXBElement<T> createJAXBElement(@Nonnull T aValue)
Copyright © 2015–2021 Philip Helger. All rights reserved.