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
public class JavaxJaxbBuilder extends JaxbBuilder
JaxbBuilderfor Jaxb-Object and creating aJAXBSource.If no custom
Marshalleris set byJaxbBuilder.withMarshaller(java.lang.Object), then the same logic as inJAXBis used the create a defaultMarshaller.- Since:
- 2.9.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJavaxJaxbBuilder(Object object)Creates a builder based on the given object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sourcebuild()build the actualSourceinstance.-
Methods inherited from class org.xmlunit.builder.JaxbBuilder
getMarshaller, getObject, getUseObjectFactory, useObjectFactory, withMarshaller
-
-
-
-
Constructor Detail
-
JavaxJaxbBuilder
protected JavaxJaxbBuilder(Object object)
Creates a builder based on the given object.- Parameters:
object- the object to build a source of
-
-
Method Detail
-
build
public Source build()
Description copied from interface:Input.Builderbuild the actualSourceinstance.- Returns:
- the Source
-
-