javax.xml.transform.sax
public abstract class SAXTransformerFactory extends TransformerFactory
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE
Factory feature indicating that the factory can be cast to this class.
|
static String |
FEATURE_XMLFILTER
Factory feature indicating that this factory can create new XMLFilters.
|
Modifier | Constructor and Description |
---|---|
protected |
SAXTransformerFactory() |
Modifier and Type | Method and Description |
---|---|
abstract TemplatesHandler |
newTemplatesHandler()
Returns a content handler that can process SAX events into a
transformation template.
|
abstract TransformerHandler |
newTransformerHandler()
Returns a content handler that can process SAX events into a result,
using the identity transform.
|
abstract TransformerHandler |
newTransformerHandler(Source src)
Returns a content handler that can process SAX events into a result,
using the specified transformation.
|
abstract TransformerHandler |
newTransformerHandler(Templates templates)
Returns a content handler that can process SAX events into a result,
using the specified transformation.
|
abstract XMLFilter |
newXMLFilter(Source src)
Creates an XML filter for the specified source.
|
abstract XMLFilter |
newXMLFilter(Templates templates)
Creates an XML filter for the specified compiled stylesheet.
|
getAssociatedStylesheet, getAttribute, getErrorListener, getFeature, getURIResolver, newInstance, newTemplates, newTransformer, newTransformer, setAttribute, setErrorListener, setFeature, setURIResolver
public static final String FEATURE
public static final String FEATURE_XMLFILTER
protected SAXTransformerFactory()
public abstract TransformerHandler newTransformerHandler(Source src) throws TransformerConfigurationException
src
- the source stylesheetTransformerConfigurationException
public abstract TransformerHandler newTransformerHandler(Templates templates) throws TransformerConfigurationException
templates
- the compiled stylesheetTransformerConfigurationException
public abstract TransformerHandler newTransformerHandler() throws TransformerConfigurationException
public abstract TemplatesHandler newTemplatesHandler() throws TransformerConfigurationException
public abstract XMLFilter newXMLFilter(Source src) throws TransformerConfigurationException
public abstract XMLFilter newXMLFilter(Templates templates) throws TransformerConfigurationException