Class JakartaJaxbBuilder

java.lang.Object
org.xmlunit.builder.JaxbBuilder
org.xmlunit.builder.jakarta_jaxb.JakartaJaxbBuilder
All Implemented Interfaces:
Input.Builder

public class JakartaJaxbBuilder extends 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 Details

    • JakartaJaxbBuilder

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

    • build

      public Source build()
      Description copied from interface: Input.Builder
      build the actual Source instance.
      Returns:
      the Source