Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.xml.transform.TransformerFactory
javax.xml.transform.sax.SAXTransformerFactory
public abstract class SAXTransformerFactory
extends TransformerFactory
Field Summary | |
static String |
|
static String |
|
Constructor Summary | |
Method Summary | |
TemplatesHandler |
|
TransformerHandler |
|
TransformerHandler |
|
TransformerHandler |
|
XMLFilter |
|
XMLFilter |
|
Methods inherited from class javax.xml.transform.TransformerFactory | |
getAssociatedStylesheet , getAttribute , getErrorListener , getFeature , getURIResolver , newInstance , newTemplates , newTransformer , newTransformer , setAttribute , setErrorListener , setFeature , setURIResolver |
public static final String FEATURE
Factory feature indicating that the factory can be cast to this class.
public static final String FEATURE_XMLFILTER
Factory feature indicating that this factory can create new XMLFilters.
public TemplatesHandler newTemplatesHandler() throws TransformerConfigurationException
Returns a content handler that can process SAX events into a transformation template.
public TransformerHandler newTransformerHandler() throws TransformerConfigurationException
Returns a content handler that can process SAX events into a result, using the identity transform.
public TransformerHandler newTransformerHandler(Source src) throws TransformerConfigurationException
Returns a content handler that can process SAX events into a result, using the specified transformation.
- Parameters:
src
- the source stylesheet
public TransformerHandler newTransformerHandler(Templates templates) throws TransformerConfigurationException
Returns a content handler that can process SAX events into a result, using the specified transformation.
- Parameters:
templates
- the compiled stylesheet
public XMLFilter newXMLFilter(Source src) throws TransformerConfigurationException
Creates an XML filter for the specified source.
public XMLFilter newXMLFilter(Templates templates) throws TransformerConfigurationException
Creates an XML filter for the specified compiled stylesheet.