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>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractWritingJAXBBuilder.DefaultExceptionHandler |
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.
|
com.helger.commons.callback.CallbackList<com.helger.commons.callback.exception.IExceptionCallback<JAXBException>> |
exceptionCallbacks() |
Consumer<? super Marshaller> |
getMarshallerCustomizer() |
IMPLTYPE |
setMarshallerCustomizer(Consumer<? super Marshaller> aMarshallerCustomizer) |
getClassLoader, getJAXBContext, getJAXBDocumentType, getSchema, isUseJAXBContextCache, isUseSchema, setClassLoader, setUseJAXBContextCache, setUseSchema, toStringpublic AbstractWritingJAXBBuilder(@Nonnull IJAXBDocumentType aDocType)
@Nonnull @ReturnsMutableObject public final com.helger.commons.callback.CallbackList<com.helger.commons.callback.exception.IExceptionCallback<JAXBException>> exceptionCallbacks()
@Nullable public 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–2018 Philip Helger. All rights reserved.