public class StxTransformerFactory extends XmlTransformerFactoryImpl
The StxTransformerFactory is responsible for creating the Transformer
.
The Transformer
is used to actually perform a document transformation. This particular implementation will create a
Transformer specifically for STX type transforms.
In the adapter configuration file this class is aliased as stx-transform-factory which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
StxTransformerFactory() |
Modifier and Type | Method and Description |
---|---|
XmlTransformer |
configure(XmlTransformer xmlTransformer) |
javax.xml.transform.Transformer |
createTransformer(java.lang.String xsl) |
javax.xml.transform.Transformer |
createTransformer(java.lang.String url,
org.xml.sax.EntityResolver entityResolver) |
getFailOnRecoverableError, getTransformerFactoryAttributes, getTransformerFactoryFeatures, getXmlDocumentFactoryConfig, setFailOnRecoverableError, setTransformerFactoryAttributes, setTransformerFactoryFeatures, setXmlDocumentFactoryConfig
public javax.xml.transform.Transformer createTransformer(java.lang.String xsl) throws java.lang.Exception
java.lang.Exception
public javax.xml.transform.Transformer createTransformer(java.lang.String url, org.xml.sax.EntityResolver entityResolver) throws java.lang.Exception
java.lang.Exception
public XmlTransformer configure(XmlTransformer xmlTransformer) throws java.lang.Exception
configure
in interface XmlTransformerFactory
configure
in class XmlTransformerFactoryImpl
java.lang.Exception