API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.transform.sax. SAXTransformerFactory View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      TransformerFactory
          SAXTransformerFactory
Implements
Subclasses
Description
publicabstract abstract class SAXTransformerFactory
  This class extends TransformerFactory to provide SAX-specific factory methods.
See also:   
Constructors
protected SAXTransformerFactory ()
The default constructor is protected on purpose.
Methods
Hide/Show inherited methods
publicabstract Source getAssociatedStylesheet (Source source, String media, String title, String charset) throws TransformerConfigurationException [Inherited From TransformerFactory]
  Get the stylesheet specification(s) associated with the XML Source document via the xml-stylesheet processing instruction that match the given criteria.
publicabstract Object getAttribute (String name) [Inherited From TransformerFactory]
  Allows the user to retrieve specific attributes on the underlying implementation.
publicabstract ErrorListener getErrorListener () [Inherited From TransformerFactory]
  Get the error event handler for the TransformerFactory.
publicabstract boolean getFeature (String name) [Inherited From TransformerFactory]
  Look up the value of a feature.
publicabstract URIResolver getURIResolver () [Inherited From TransformerFactory]
  Get the object that is used by default during the transformation to resolve URIs used in document(), xsl:import, or xsl:include.
publicstatic TransformerFactory newInstance () throws TransformerFactoryConfigurationError [Inherited From TransformerFactory]
  Obtain a new instance of a TransformerFactory.
publicstatic TransformerFactory newInstance (String factoryClassName, ClassLoader classLoader) throws TransformerFactoryConfigurationError [Inherited From TransformerFactory]
  Obtain a new instance of a TransformerFactory from factory class name.
publicabstract Templates newTemplates (Source source) throws TransformerConfigurationException [Inherited From TransformerFactory]
  Process the Source into a Templates object, which is a a compiled representation of the source.
publicabstract TemplatesHandler newTemplatesHandler () throws TransformerConfigurationException
  Get a TemplatesHandler object that can process SAX ContentHandler events into a Templates object.
publicabstract Transformer newTransformer () throws TransformerConfigurationException [Inherited From TransformerFactory]
  Create a new Transformer that performs a copy of the Source to the Result.
publicabstract Transformer newTransformer (Source source) throws TransformerConfigurationException [Inherited From TransformerFactory]
  Process the Source into a Transformer Object.
publicabstract TransformerHandler newTransformerHandler () throws TransformerConfigurationException
  Get a TransformerHandler object that can process SAX ContentHandler events into a Result.
publicabstract TransformerHandler newTransformerHandler (Source src) throws TransformerConfigurationException
  Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument.
publicabstract TransformerHandler newTransformerHandler (Templates templates) throws TransformerConfigurationException
  Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument.
publicabstract XMLFilter newXMLFilter (Source src) throws TransformerConfigurationException
  Create an XMLFilter that uses the given Source as the transformation instructions.
publicabstract XMLFilter newXMLFilter (Templates templates) throws TransformerConfigurationException
  Create an XMLFilter, based on the Templates argument..
publicabstract void setAttribute (String name, Object value) [Inherited From TransformerFactory]
  Allows the user to set specific attributes on the underlying implementation.
publicabstract void setErrorListener (ErrorListener listener) [Inherited From TransformerFactory]
  Set the error event listener for the TransformerFactory, which is used for the processing of transformation instructions, and not for the transformation itself.
publicabstract void setFeature (String name, boolean value) throws TransformerConfigurationException [Inherited From TransformerFactory]
  Set a feature for this TransformerFactory and Transformers or Templates created by this factory.
publicabstract void setURIResolver (URIResolver resolver) [Inherited From TransformerFactory]
  Set an object that is used by default during the transformation to resolve URIs used in document(), xsl:import, or xsl:include.
Fields
Hide/Show inherited fields
publicfinalstatic String FEATURE = "http://javax.xml.transform.sax.SAXTransformerFactory/feature"
If TransformerFactory.getFeature(java.lang.String) returns true when passed this value as an argument, the TransformerFactory returned from TransformerFactory.newInstance() may be safely cast to a SAXTransformerFactory.
publicfinalstatic String FEATURE_XMLFILTER = "http://javax.xml.transform.sax.SAXTransformerFactory/feature/xmlfilter"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar