org.springframework.integration.xml.transformer
Class XmlPayloadMarshallingTransformer
java.lang.Object
org.springframework.integration.transformer.AbstractPayloadTransformer<java.lang.Object,java.lang.Object>
org.springframework.integration.xml.transformer.XmlPayloadMarshallingTransformer
- All Implemented Interfaces:
- Transformer
public class XmlPayloadMarshallingTransformer
- extends AbstractPayloadTransformer<java.lang.Object,java.lang.Object>
An implementation of PayloadTransformer
that delegates to an OXM
Marshaller
.
- Author:
- Mark Fisher, Jonas Partner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlPayloadMarshallingTransformer
public XmlPayloadMarshallingTransformer(org.springframework.oxm.Marshaller marshaller,
ResultTransformer resultTransformer)
throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
XmlPayloadMarshallingTransformer
public XmlPayloadMarshallingTransformer(org.springframework.oxm.Marshaller marshaller)
throws javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.parsers.ParserConfigurationException
setResultFactory
public void setResultFactory(ResultFactory resultFactory)
transformPayload
public java.lang.Object transformPayload(java.lang.Object payload)
- Specified by:
transformPayload
in class AbstractPayloadTransformer<java.lang.Object,java.lang.Object>