public class DomSourceFactory extends Object implements SourceFactory
SourceFactory
implementation which supports creation of a DOMSource
from a Document
, File
or String
payload.Constructor and Description |
---|
DomSourceFactory() |
DomSourceFactory(DocumentBuilderFactory documentBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
Source |
createSource(Object payload)
Create appropriate
Source instance for payload |
public DomSourceFactory()
public DomSourceFactory(DocumentBuilderFactory documentBuilderFactory)
public Source createSource(Object payload)
SourceFactory
Source
instance for payload
createSource
in interface SourceFactory
payload
- The payload.