Class AbstractRegRepJAXBMarshaller<JAXBTYPE>

    • Field Summary

      • Fields inherited from interface com.helger.jaxb.IJAXBWriter

        USE_JAXB_CHARSET_FIX
    • 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 interface com.helger.commons.lang.IHasClassLoader

        hasClassLoader
      • 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.IJAXBValidator

        isValid, validate
      • 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 be null.
        aXSDs - The XSDs used to validate document. May be null or empty indicating, that no XSD check is needed.
        aJAXBElementWrapper - Wrap the passed domain object into a JAXBElement for marshalling (writing). This can usually be done using the respective's package ObjectFactory implementation. May not be null.
      • 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 be null.
        aXSDs - The XSDs used to validate document. May be null or empty indicating, that no XSD check is needed.
        aQName - the qualified element name to be used. May not be null.