javax.xml.transform.sax
abstract public class: SAXTransformerFactory [javadoc |
source]
java.lang.Object
javax.xml.transform.TransformerFactory
javax.xml.transform.sax.SAXTransformerFactory
This class extends TransformerFactory to provide SAX-specific
factory methods. It provides two types of ContentHandlers,
one for creating Transformers, the other for creating Templates
objects.
If an application wants to set the ErrorHandler or EntityResolver
for an XMLReader used during a transformation, it should use a URIResolver
to return the SAXSource which provides (with getXMLReader) a reference to
the XMLReader.
Field Summary |
---|
public static final String | FEATURE | If javax.xml.transform.TransformerFactory#getFeature
returns true when passed this value as an argument,
the TransformerFactory returned from
javax.xml.transform.TransformerFactory#newInstance may
be safely cast to a SAXTransformerFactory. |
public static final String | FEATURE_XMLFILTER | If javax.xml.transform.TransformerFactory#getFeature
returns true when passed this value as an argument,
the #newXMLFilter(Source src)
and #newXMLFilter(Templates templates) methods are supported. |
Methods from javax.xml.transform.TransformerFactory: |
---|
getAssociatedStylesheet, getAttribute, getErrorListener, getFeature, getURIResolver, newInstance, newInstance, newTemplates, newTransformer, newTransformer, setAttribute, setErrorListener, setFeature, setURIResolver |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |