Class JakartaJaxbBuilder

  • All Implemented Interfaces:
    org.xmlunit.builder.Input.Builder

    public class JakartaJaxbBuilder
    extends org.xmlunit.builder.JaxbBuilder
    JaxbBuilder for Jaxb-Object and creating a JAXBSource.

    If no custom Marshaller is set by JaxbBuilder.withMarshaller(java.lang.Object), then the same logic as in JAXB is used the create a default Marshaller.

    Since:
    2.9.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected JakartaJaxbBuilder​(java.lang.Object object)
      Creates a builder based on the given object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.transform.Source build()  
      • Methods inherited from class org.xmlunit.builder.JaxbBuilder

        getMarshaller, getObject, getUseObjectFactory, useObjectFactory, withMarshaller
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JakartaJaxbBuilder

        protected JakartaJaxbBuilder​(java.lang.Object object)
        Creates a builder based on the given object.
        Parameters:
        object - the object to build a source of
    • Method Detail

      • build

        public javax.xml.transform.Source build()