Package com.helger.jaxb
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.
A special bi-consumer that additionally can throw a
JAXBException- Author:
- Philip Helger
-
Method Summary
-
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- TheMarshallerto use. May not benull.aJAXBElement- The JAXB-Element to write. May not benull.- Throws:
jakarta.xml.bind.JAXBException- In case writing to XML fails.
-