org.springframework.integration.xml.source
Class DomSourceFactory
java.lang.Object
org.springframework.integration.xml.source.DomSourceFactory
- All Implemented Interfaces:
- SourceFactory
public class DomSourceFactory
- extends java.lang.Object
- implements SourceFactory
SourceDataLine
implementation which supports creation of a
DOMSource
from 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 |
docBuilderFactory
private final javax.xml.parsers.DocumentBuilderFactory docBuilderFactory
DomSourceFactory
public DomSourceFactory()
DomSourceFactory
public DomSourceFactory(javax.xml.parsers.DocumentBuilderFactory docBuilderFactory)
getSourceForMessage
public javax.xml.transform.Source getSourceForMessage(Message<?> message)
- Specified by:
getSourceForMessage
in interface SourceFactory
createDomSourceForDocument
protected javax.xml.transform.dom.DOMSource createDomSourceForDocument(Message<?> message)
createDomSourceForString
protected javax.xml.transform.dom.DOMSource createDomSourceForString(Message<?> message)