org.springframework.integration.xml.transformer
Class SourceCreatingTransformer
java.lang.Object
org.springframework.integration.transformer.AbstractTransformer
org.springframework.integration.transformer.AbstractPayloadTransformer<Object,Source>
org.springframework.integration.xml.transformer.SourceCreatingTransformer
- All Implemented Interfaces:
- Transformer
public class SourceCreatingTransformer
- extends AbstractPayloadTransformer<Object,Source>
Transforms the payload to a Source using a SourceFactory.
Defaults to using a DomSourceFactory if an alternative is not provided.
- Author:
- Jonas Partner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceCreatingTransformer
public SourceCreatingTransformer()
SourceCreatingTransformer
public SourceCreatingTransformer(SourceFactory sourceFactory)
transformPayload
public Source transformPayload(Object payload)
- Specified by:
transformPayload in class AbstractPayloadTransformer<Object,Source>
Copyright © 2010. All Rights Reserved.