Package com.helger.jaxb.builder
Class AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE extends AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE>>
java.lang.Object
com.helger.jaxb.builder.AbstractJAXBBuilder<IMPLTYPE>
com.helger.jaxb.builder.AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE>
- Type Parameters:
JAXBTYPE- The JAXB implementation class to be handledIMPLTYPE- The implementation class implementing this abstract class.
- All Implemented Interfaces:
com.helger.commons.lang.IHasClassLoader,com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>
- Direct Known Subclasses:
JAXBValidationBuilder,JAXBWriterBuilder
@NotThreadSafe
@Deprecated(forRemoval=true,
since="11.0.3")
public abstract class AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE extends AbstractWritingJAXBBuilder<JAXBTYPE,IMPLTYPE>>
extends AbstractJAXBBuilder<IMPLTYPE>
Deprecated, for removal: This API element is subject to removal in a future version.
Abstract builder base class for writing and validating JAXB documents.
- Author:
- Philip Helger
-
Field Summary
Fields inherited from class com.helger.jaxb.builder.AbstractJAXBBuilder
m_aDocType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractWritingJAXBBuilder(IJAXBDocumentType aDocType) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> jakarta.xml.bind.JAXBElement<T>createJAXBElement(T aValue) Deprecated, for removal: This API element is subject to removal in a future version.protected jakarta.xml.bind.MarshallerDeprecated, for removal: This API element is subject to removal in a future version.Create the main marshaller with the contained settings.final Consumer<? super jakarta.xml.bind.Marshaller>Deprecated, for removal: This API element is subject to removal in a future version.final IMPLTYPEsetMarshallerCustomizer(Consumer<? super jakarta.xml.bind.Marshaller> aMarshallerCustomizer) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.helger.jaxb.builder.AbstractJAXBBuilder
exceptionCallbacks, getClassLoader, getJAXBContext, getJAXBDocumentType, getSchema, isUseJAXBContextCache, isUseSchema, setUseJAXBContextCache, setUseSchema, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.traits.IGenericImplTrait
thisAsTMethods inherited from interface com.helger.commons.lang.IHasClassLoader
hasClassLoader
-
Constructor Details
-
AbstractWritingJAXBBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getMarshallerCustomizer
Deprecated, for removal: This API element is subject to removal in a future version. -
setMarshallerCustomizer
@Nonnull public final IMPLTYPE setMarshallerCustomizer(@Nullable Consumer<? super jakarta.xml.bind.Marshaller> aMarshallerCustomizer) Deprecated, for removal: This API element is subject to removal in a future version. -
createMarshaller
@Nonnull @OverrideOnDemand protected jakarta.xml.bind.Marshaller createMarshaller() throws jakarta.xml.bind.JAXBExceptionDeprecated, for removal: This API element is subject to removal in a future version.Create the main marshaller with the contained settings.- Returns:
- The Marshaller and never
null. - Throws:
jakarta.xml.bind.JAXBException- In case creation fails
-
createJAXBElement
Deprecated, for removal: This API element is subject to removal in a future version.
-