public class StringSourceFactory extends Object implements SourceFactory
SourceFactory implementation which supports creation of a StringSource
from a Document, File or String payload| Constructor and Description |
|---|
StringSourceFactory() |
StringSourceFactory(TransformerFactory transformerFactory) |
| Modifier and Type | Method and Description |
|---|---|
Source |
createSource(Object payload)
Create appropriate
Source instance for payload |
public StringSourceFactory()
public StringSourceFactory(TransformerFactory transformerFactory)
public Source createSource(Object payload)
SourceFactorySource instance for payloadcreateSource in interface SourceFactorypayload - The payload.