public class StringSourceFactory extends Object implements SourceFactory
SourceFactory
implementation which supports creation of a StringSource
from a Document
, File
or String
payloadConstructor and Description |
---|
StringSourceFactory() |
StringSourceFactory(TransformerFactory transformerFactory) |
public StringSourceFactory()
public StringSourceFactory(TransformerFactory transformerFactory)
public Source createSource(Object payload)
SourceFactory
Source
instance for payload
createSource
in interface SourceFactory
payload
- The payload.