API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.transform. TransformerFactory View Source
Author(s)
Jeff Suttor
Neeraj Bajaj
Since
Version
Serial
Hierarchy
 Object
      TransformerFactory
Implements
Subclasses
Description
publicabstract abstract class TransformerFactory
  A TransformerFactory instance can be used to create Transformer and Templates objects.
See also:   
Constructors
protected TransformerFactory ()
Default constructor is protected on purpose.
Methods
Hide/Show inherited methods
publicabstract Source getAssociatedStylesheet (Source source, String media, String title, String charset) throws TransformerConfigurationException
  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)
  Allows the user to retrieve specific attributes on the underlying implementation.
publicabstract ErrorListener getErrorListener ()
  Get the error event handler for the TransformerFactory.
publicabstract boolean getFeature (String name)
  Look up the value of a feature.
publicabstract URIResolver getURIResolver ()
  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
  Obtain a new instance of a TransformerFactory.
publicstatic TransformerFactory newInstance (String factoryClassName, ClassLoader classLoader) throws TransformerFactoryConfigurationError
  Obtain a new instance of a TransformerFactory from factory class name.
publicabstract Templates newTemplates (Source source) throws TransformerConfigurationException
  Process the Source into a Templates object, which is a a compiled representation of the source.
publicabstract Transformer newTransformer () throws TransformerConfigurationException
  Create a new Transformer that performs a copy of the Source to the Result.
publicabstract Transformer newTransformer (Source source) throws TransformerConfigurationException
  Process the Source into a Transformer Object.
publicabstract void setAttribute (String name, Object value)
  Allows the user to set specific attributes on the underlying implementation.
publicabstract 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.
publicabstract void setFeature (String name, boolean value) throws TransformerConfigurationException
  Set a feature for this TransformerFactory and Transformers or Templates created by this factory.
publicabstract 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.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar