Package com.helger.regrep.jaxb
Class AbstractRegRepJAXBMarshaller<JAXBTYPE>
- java.lang.Object
-
- com.helger.jaxb.GenericJAXBMarshaller<JAXBTYPE>
-
- com.helger.regrep.jaxb.AbstractRegRepJAXBMarshaller<JAXBTYPE>
-
- Type Parameters:
JAXBTYPE- The JAXB type to be marshaled
- All Implemented Interfaces:
com.helger.commons.lang.IHasClassLoader,com.helger.jaxb.IJAXBReader<JAXBTYPE>,com.helger.jaxb.IJAXBValidator<JAXBTYPE>,com.helger.jaxb.IJAXBWriter<JAXBTYPE>
- Direct Known Subclasses:
RegRep4CatalogObjectsRequestMarshaller,RegRep4CatalogObjectsResponseMarshaller,RegRep4FilterObjectsRequestMarshaller,RegRep4FilterObjectsResponseMarshaller,RegRep4QueryRequestMarshaller,RegRep4QueryResponseMarshaller,RegRep4RegistryExceptionMarshaller,RegRep4RemoveObjectsMarshaller,RegRep4SubmitObjectsMarshaller,RegRep4UpdateObjectsMarshaller,RegRep4ValidateObjectsRequestMarshaller,RegRep4ValidateObjectsResponseMarshaller
public abstract class AbstractRegRepJAXBMarshaller<JAXBTYPE> extends com.helger.jaxb.GenericJAXBMarshaller<JAXBTYPE>Abstract base class for RegRep4 JAXB marshalling.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRegRepJAXBMarshaller(Class<JAXBTYPE> aType, List<? extends com.helger.commons.io.resource.ClassPathResource> aXSDs, Function<? super JAXBTYPE,? extends jakarta.xml.bind.JAXBElement<JAXBTYPE>> aJAXBElementWrapper)Constructor with XSD paths.protectedAbstractRegRepJAXBMarshaller(Class<JAXBTYPE> aType, List<? extends com.helger.commons.io.resource.ClassPathResource> aXSDs, QName aQName)Constructor with qualified element.
-
Method Summary
-
Methods inherited from class com.helger.jaxb.GenericJAXBMarshaller
createSimpleJAXBElement, createValidationSchema, customizeMarshaller, customizeMarshallerForValidation, customizeUnmarshaller, getCharset, getClassLoader, getIndentString, getJAXBContext, getNamespaceContext, getNoNamespaceSchemaLocation, getOriginalXSDs, getSchemaLocation, getType, getValidationEventHandler, isFormattedOutput, isUseContextCache, isUseSchema, read, readExceptionCallbacks, setCharset, setCollectErrors, setFormattedOutput, setIndentString, setNamespaceContext, setNoNamespaceSchemaLocation, setSchemaLocation, setUseContextCache, setUseSchema, setValidationEventHandler, setValidationEventHandlerFactory, toString, validate, write, writeExceptionCallbacks
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.jaxb.IJAXBReader
read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read
-
Methods inherited from interface com.helger.jaxb.IJAXBWriter
getAsByteBuffer, getAsBytes, getAsDocument, getAsElement, getAsInputStream, getAsMicroDocument, getAsMicroElement, getAsString, getXMLWriterSettings, hasCharset, hasIndentString, hasNoNamespaceSchemaLocation, hasSchemaLocation, write, write, write, write, write, write, write, write, write
-
-
-
-
Constructor Detail
-
AbstractRegRepJAXBMarshaller
protected AbstractRegRepJAXBMarshaller(@Nonnull Class<JAXBTYPE> aType, @Nullable List<? extends com.helger.commons.io.resource.ClassPathResource> aXSDs, @Nonnull Function<? super JAXBTYPE,? extends jakarta.xml.bind.JAXBElement<JAXBTYPE>> aJAXBElementWrapper)
Constructor with XSD paths.- Parameters:
aType- The class of the JAXB document implementation type. May not benull.aXSDs- The XSDs used to validate document. May benullor empty indicating, that no XSD check is needed.aJAXBElementWrapper- Wrap the passed domain object into aJAXBElementfor marshalling (writing). This can usually be done using the respective's package ObjectFactory implementation. May not benull.
-
AbstractRegRepJAXBMarshaller
protected AbstractRegRepJAXBMarshaller(@Nonnull Class<JAXBTYPE> aType, @Nullable List<? extends com.helger.commons.io.resource.ClassPathResource> aXSDs, @Nonnull QName aQName)
Constructor with qualified element.- Parameters:
aType- The class of the JAXB document implementation type. May not benull.aXSDs- The XSDs used to validate document. May benullor empty indicating, that no XSD check is needed.aQName- the qualified element name to be used. May not benull.
-
-