javax.xml.transform.sax
public abstract class SAXTransformerFactory extends TransformerFactory
Transformer objects produced by this factory will of course be
able to perform Transformer.transform()
operations to map XML text into other text.
The factory also supports creating Templates objects.
Version: 1.0
Field Summary | |
---|---|
static String | FEATURE
Used with TransformerFactory.getFeature() to determine
whether the transformers it produces extend this class. |
static String | FEATURE_XMLFILTER
Used with TransformerFactory.getFeature() to determine
whether newXMLFilter() methods are supported. |
Constructor Summary | |
---|---|
protected | SAXTransformerFactory() Constructor, for use with subclasses |
Method Summary | |
---|---|
abstract TemplatesHandler | newTemplatesHandler()
Returns a SAX event consumer collecting its inputs into
a pre-parsed stylesheet. |
abstract TransformerHandler | newTransformerHandler(Source stylesheet)
Returns a SAX event consumer sending its inputs to some Result
after transforming them according to a stylesheet. |
abstract TransformerHandler | newTransformerHandler(Templates stylesheet)
Returns a SAX event consumer sending its inputs to some Result
after transforming them according to a pre-parsed stylesheet. |
abstract TransformerHandler | newTransformerHandler()
Returns a SAX event consumer sending its inputs to some Result
without transforming them (null transformation). |
abstract XMLFilter | newXMLFilter(Source stylesheet)
Returns a SAX parser that transforms XML data according
to a stylesheet before reporting SAX events. |
abstract XMLFilter | newXMLFilter(Templates stylesheet)
Returns a SAX parser that transforms XML data according
to a pre-parsed stylesheet before reporting SAX events. |
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2011-08-26.