Indicate what the processor supports
Defined features:
StreamSource.FEATURE
:
http://javax.xml.transform.stream.StreamSource/feature
StreamResult.FEATURE
:
http://javax.xml.transform.stream.StreamResult/feature
DOMSource.FEATURE
:
http://javax.xml.transform.dom.DOMSource/feature
DOMResult.FEATURE
:
http://javax.xml.transform.dom.DOMResult/feature
SAXSource.FEATURE
:
http://javax.xml.transform.dom.SAXSource/feature
SAXResult.FEATURE
:
http://javax.xml.transform.dom.SAXResult/feature
SAXTransformerFactory.FEATURE
:
http://javax.xml.transform.sax.SAXTransformerFactory/feature
SAXTransformerFactory.FEATURE_XMLFILTER
:
http://javax.xml.transform.sax.SAXTransformerFactory/feature/xmlfilter
The boolean values of these features for the current XSLT engine can be tested with
the getFeature()
method in the TransformerFactory
class:
public abstract boolean getFeature(String name);