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