org.springframework.integration.xml.source
Class StringSourceFactory
java.lang.Object
org.springframework.integration.xml.source.StringSourceFactory
- All Implemented Interfaces:
- SourceFactory
public class StringSourceFactory
- extends Object
- implements SourceFactory
SourceFactory
implementation which supports creation of a
StringSource
from either a Document
or String
payload
- Author:
- Jonas Partner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringSourceFactory
public StringSourceFactory()
StringSourceFactory
public StringSourceFactory(TransformerFactory transformerFactory)
createSource
public Source createSource(Object payload)
- Description copied from interface:
SourceFactory
- Create appropriate
Source
instance for payload
- Specified by:
createSource
in interface SourceFactory
createStringSourceForDocument
protected org.springframework.xml.transform.StringSource createStringSourceForDocument(Document doc)
getTransformer
protected Transformer getTransformer()
Copyright © 2010. All Rights Reserved.