Package com.adaptris.util.text.xml
Class StxTransformerFactory
java.lang.Object
com.adaptris.util.text.xml.XmlTransformerFactoryImpl
com.adaptris.util.text.xml.StxTransformerFactory
- All Implemented Interfaces:
XmlTransformerFactory
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigure
(XmlTransformer xmlTransformer) createTransformer
(String xsl) createTransformer
(String url, EntityResolver entityResolver) Methods inherited from class com.adaptris.util.text.xml.XmlTransformerFactoryImpl
getFailOnRecoverableError, getTransformerFactoryAttributes, getTransformerFactoryFeatures, getXmlDocumentFactoryConfig, setFailOnRecoverableError, setTransformerFactoryAttributes, setTransformerFactoryFeatures, setXmlDocumentFactoryConfig
-
Constructor Details
-
StxTransformerFactory
public StxTransformerFactory()
-
-
Method Details
-
createTransformer
- Throws:
Exception
-
createTransformer
- Throws:
Exception
-
configure
- Specified by:
configure
in interfaceXmlTransformerFactory
- Overrides:
configure
in classXmlTransformerFactoryImpl
- Throws:
Exception
-