Interface IJAXBMarshaller<JAXBTYPE>

Type Parameters:
JAXBTYPE - The JAXB type to be written
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IJAXBMarshaller<JAXBTYPE>
A special bi-consumer that additionally can throw a JAXBException
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doMarshal(jakarta.xml.bind.Marshaller aMarshaller, jakarta.xml.bind.JAXBElement<JAXBTYPE> aJAXBElement)
     
  • Method Details

    • doMarshal

      void doMarshal(@Nonnull jakarta.xml.bind.Marshaller aMarshaller, @Nonnull jakarta.xml.bind.JAXBElement<JAXBTYPE> aJAXBElement) throws jakarta.xml.bind.JAXBException
      Parameters:
      aMarshaller - The Marshaller to use. May not be null.
      aJAXBElement - The JAXB-Element to write. May not be null.
      Throws:
      jakarta.xml.bind.JAXBException - In case writing to XML fails.