Package org.apache.xalan.processor
Class SecureTransformerFactoryImpl
- java.lang.Object
-
- javax.xml.transform.TransformerFactory
-
- javax.xml.transform.sax.SAXTransformerFactory
-
- org.apache.xalan.processor.TransformerFactoryImpl
-
- org.apache.xalan.processor.SecureTransformerFactoryImpl
-
public class SecureTransformerFactoryImpl extends org.apache.xalan.processor.TransformerFactoryImpl
Extension of the XalanTransformerFactoryImpl
to protect XSL transformations against XXE- Author:
- XIMA Media Gmbh
-
-
Field Summary
-
Fields inherited from class org.apache.xalan.processor.TransformerFactoryImpl
FEATURE_INCREMENTAL, FEATURE_OPTIMIZE, FEATURE_SOURCE_LOCATION, XSLT_PROPERTIES
-
Fields inherited from class javax.xml.transform.sax.SAXTransformerFactory
FEATURE, FEATURE_XMLFILTER
-
-
Constructor Summary
Constructors Constructor Description SecureTransformerFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Templates
newTemplates(Source source)
-
Methods inherited from class org.apache.xalan.processor.TransformerFactoryImpl
getAssociatedStylesheet, getAttribute, getErrorListener, getFeature, getURIResolver, isSecureProcessing, newTemplatesHandler, newTransformer, newTransformer, newTransformerHandler, newTransformerHandler, newTransformerHandler, newXMLFilter, newXMLFilter, processFromNode, setAttribute, setErrorListener, setFeature, setURIResolver
-
Methods inherited from class javax.xml.transform.TransformerFactory
newDefaultInstance, newInstance, newInstance
-
-
-
-
Method Detail
-
newTemplates
public Templates newTemplates(Source source) throws TransformerConfigurationException
- Overrides:
newTemplates
in classorg.apache.xalan.processor.TransformerFactoryImpl
- Throws:
TransformerConfigurationException
-
-