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 and Description |
---|
DomSourceFactory() |
DomSourceFactory(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
javax.xml.transform.Source |
createSource(java.lang.Object payload)
Create appropriate
Source instance for payload |
public DomSourceFactory()
public DomSourceFactory(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
public javax.xml.transform.Source createSource(java.lang.Object payload)
SourceFactory
Source
instance for payload
createSource
in interface SourceFactory