Package org.xmlunit.builder.jakarta_jaxb
Class JakartaJaxbBuilder
java.lang.Object
org.xmlunit.builder.JaxbBuilder
org.xmlunit.builder.jakarta_jaxb.JakartaJaxbBuilder
- All Implemented Interfaces:
Input.Builder
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
ModifierConstructorDescriptionprotected
JakartaJaxbBuilder
(Object object) Creates a builder based on the given object. -
Method Summary
Methods inherited from class org.xmlunit.builder.JaxbBuilder
getMarshaller, getObject, getUseObjectFactory, useObjectFactory, withMarshaller
-
Constructor Details
-
JakartaJaxbBuilder
Creates a builder based on the given object.- Parameters:
object
- the object to build a source of
-
-
Method Details
-
build
Description copied from interface:Input.Builder
build the actualSource
instance.- Returns:
- the Source
-