Package org.xmlunit.builder.javax_jaxb
Class JavaxJaxbBuilder
java.lang.Object
org.xmlunit.builder.JaxbBuilder
org.xmlunit.builder.javax_jaxb.JavaxJaxbBuilder
- 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
ConstructorsModifierConstructorDescriptionprotectedJavaxJaxbBuilder(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
-
JavaxJaxbBuilder
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.Builderbuild the actualSourceinstance.- Returns:
- the Source
-