org.springframework.integration.xml.source
Class DomSourceFactory

java.lang.Object
  extended by org.springframework.integration.xml.source.DomSourceFactory
All Implemented Interfaces:
SourceFactory

public class DomSourceFactory
extends java.lang.Object
implements SourceFactory

SourceFactory implementation which supports creation of a DOMSource from a Document, File or String payload.


Constructor Summary
DomSourceFactory()
           
DomSourceFactory(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
           
 
Method Summary
 javax.xml.transform.Source createSource(java.lang.Object payload)
          Create appropriate Source instance for payload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomSourceFactory

public DomSourceFactory()

DomSourceFactory

public DomSourceFactory(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
Method Detail

createSource

public javax.xml.transform.Source createSource(java.lang.Object payload)
Description copied from interface: SourceFactory
Create appropriate Source instance for payload

Specified by:
createSource in interface SourceFactory