Package org.citrusframework.xml
Class Jaxb2Marshaller
java.lang.Object
org.citrusframework.xml.Jaxb2Marshaller
- All Implemented Interfaces:
org.citrusframework.xml.Marshaller,org.citrusframework.xml.Unmarshaller
public class Jaxb2Marshaller
extends Object
implements org.citrusframework.xml.Marshaller, org.citrusframework.xml.Unmarshaller
Marshaller uses Jaxb to marshal/unmarshal data.
-
Constructor Summary
ConstructorsConstructorDescriptionJaxb2Marshaller(Class<?>... classesToBeBound) Jaxb2Marshaller(String... contextPaths) Jaxb2Marshaller(org.citrusframework.spi.Resource[] schemaResources, Class<?>... classesToBeBound) Jaxb2Marshaller(org.citrusframework.spi.Resource[] schemaResources, String... contextPaths) Jaxb2Marshaller(org.citrusframework.spi.Resource schemaResource, Class<?>... classesToBeBound) Jaxb2Marshaller(org.citrusframework.spi.Resource schemaResource, String... contextPaths) -
Method Summary
-
Constructor Details
-
Jaxb2Marshaller
public Jaxb2Marshaller() -
Jaxb2Marshaller
-
Jaxb2Marshaller
-
Jaxb2Marshaller
public Jaxb2Marshaller(org.citrusframework.spi.Resource schemaResource, Class<?>... classesToBeBound) -
Jaxb2Marshaller
-
Jaxb2Marshaller
public Jaxb2Marshaller(org.citrusframework.spi.Resource[] schemaResources, Class<?>... classesToBeBound) -
Jaxb2Marshaller
-
-
Method Details
-
marshal
- Specified by:
marshalin interfaceorg.citrusframework.xml.Marshaller- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshalin interfaceorg.citrusframework.xml.Unmarshaller- Throws:
jakarta.xml.bind.JAXBException
-
setProperty
-