Package org.citrusframework.xml
Class SpringMarshallerAdapter
java.lang.Object
org.citrusframework.xml.SpringMarshallerAdapter
- All Implemented Interfaces:
org.springframework.oxm.Marshaller,org.springframework.oxm.Unmarshaller
public class SpringMarshallerAdapter
extends Object
implements org.springframework.oxm.Marshaller, org.springframework.oxm.Unmarshaller
Spring Oxm marshaller delegates to given internal marshaller.
- Author:
- Christoph Deppisch
-
Constructor Summary
ConstructorsConstructorDescriptionSpringMarshallerAdapter(Marshaller marshaller) SpringMarshallerAdapter(Marshaller marshaller, Unmarshaller unmarshaller) -
Method Summary
-
Constructor Details
-
SpringMarshallerAdapter
-
SpringMarshallerAdapter
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.oxm.Marshaller- Specified by:
supportsin interfaceorg.springframework.oxm.Unmarshaller
-
unmarshal
public Object unmarshal(Source source) throws IOException, org.springframework.oxm.XmlMappingException - Specified by:
unmarshalin interfaceorg.springframework.oxm.Unmarshaller- Throws:
IOExceptionorg.springframework.oxm.XmlMappingException
-
marshal
public void marshal(Object graph, Result result) throws IOException, org.springframework.oxm.XmlMappingException - Specified by:
marshalin interfaceorg.springframework.oxm.Marshaller- Throws:
IOExceptionorg.springframework.oxm.XmlMappingException
-