org.springframework.integration.xml.transformer
Class XmlPayloadUnmarshallingTransfomer
java.lang.Object
org.springframework.integration.xml.transformer.XmlPayloadUnmarshallingTransfomer
- All Implemented Interfaces:
- MessageTransformer
public class XmlPayloadUnmarshallingTransfomer
- extends java.lang.Object
- implements MessageTransformer
An implementation of MessageTransformer
that delegates to an OXM
Unmarshaller
Expects the payload to be of type Source
or to
have an instance of SourceFactory
that can convert to a
Source
- Author:
- Jonas Partner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unmarshaller
private final org.springframework.oxm.Unmarshaller unmarshaller
sourceFactory
private SourceFactory sourceFactory
XmlPayloadUnmarshallingTransfomer
public XmlPayloadUnmarshallingTransfomer(org.springframework.oxm.Unmarshaller unmarshaller)
setSourceFactory
public void setSourceFactory(SourceFactory sourceFactory)
transform
public void transform(Message message)
- Specified by:
transform
in interface MessageTransformer