Example usage for Java javax.xml.transform.sax SAXTransformerFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
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. |
Source | getAssociatedStylesheet(Source source, String media, String title, String charset) Get the stylesheet specification(s) associated with the XML Source document via the xml-stylesheet processing instruction that match the given criteria. |
Class> | getClass() Returns the runtime class of this Object . |
TransformerFactory | newInstance() Obtain a new instance of a TransformerFactory . |
Templates | newTemplates(Source source) Process the Source into a Templates object, which is a a compiled representation of the source. |
TemplatesHandler | newTemplatesHandler() Get a TemplatesHandler object that can process SAX ContentHandler events into a Templates object. |
Transformer | newTransformer(Source source) Process the Source into a Transformer Object . |
TransformerHandler | newTransformerHandler(Source src) Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument. |
TransformerHandler | newTransformerHandler(Templates templates) Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument. |
TransformerHandler | newTransformerHandler() Get a TransformerHandler object that can process SAX ContentHandler events into a Result. |
XMLFilter | newXMLFilter(Source src) Create an XMLFilter that uses the given Source as the transformation instructions. |
XMLFilter | newXMLFilter(Templates templates) Create an XMLFilter, based on the Templates argument.. |
void | setAttribute(String name, Object value) Allows the user to set specific attributes on the underlying implementation. |
void | setErrorListener(ErrorListener listener) Set the error event listener for the TransformerFactory, which is used for the processing of transformation instructions, and not for the transformation itself. |
void | setFeature(String name, boolean value) Set a feature for this TransformerFactory and Transformer s or Template s created by this factory. |
void | setURIResolver(URIResolver resolver) Set an object that is used by default during the transformation to resolve URIs used in document(), xsl:import, or xsl:include. |