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, Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSource
(Object payload) Create appropriateSource
instance forpayload
-
Constructor Details
-
StringSourceFactory
public StringSourceFactory() -
StringSourceFactory
-
-
Method Details
-
createSource
Description copied from interface:SourceFactory
Create appropriateSource
instance forpayload
- Specified by:
createSource
in interfaceSourceFactory
- Parameters:
payload
- The payload.- Returns:
- The source.
-