public class StringSourceFactory extends java.lang.Object implements SourceFactory
SourceFactory
implementation which supports creation of a StringSource
from a Document
, File
or String
payloadConstructor and Description |
---|
StringSourceFactory() |
StringSourceFactory(javax.xml.transform.TransformerFactory transformerFactory) |
Modifier and Type | Method and Description |
---|---|
javax.xml.transform.Source |
createSource(java.lang.Object payload)
Create appropriate
Source instance for payload |
public StringSourceFactory()
public StringSourceFactory(javax.xml.transform.TransformerFactory transformerFactory)
public javax.xml.transform.Source createSource(java.lang.Object payload)
SourceFactory
Source
instance for payload
createSource
in interface SourceFactory