Class StringSourceFactory
java.lang.Object
org.springframework.integration.xml.source.StringSourceFactory
- All Implemented Interfaces:
SourceFactory
SourceFactory implementation which supports creation of a StringSource
from a Document, File or String payload- Author:
- Jonas Partner, Mark Fisher, Artem Bilan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSource(Object payload) Create appropriateSourceinstance forpayload
-
Constructor Details
-
StringSourceFactory
public StringSourceFactory() -
StringSourceFactory
-
-
Method Details
-
createSource
Description copied from interface:SourceFactoryCreate appropriateSourceinstance forpayload- Specified by:
createSourcein interfaceSourceFactory- Parameters:
payload- The payload.- Returns:
- The source.
-