Since: API Level 8
package

javax.xml.transform

Classes | Description

This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.

more...

Interfaces

ErrorListener

To provide customized error handling, implement this interface and use the setErrorListener method to register an instance of the implementation with the Transformer

Result

An object that implements this interface contains the information needed to build a transformation result tree. 

SourceAn object that implements this interface contains the information needed to act as source input (XML source or transformation instructions). 
SourceLocatorThis interface is primarily for the purposes of reporting where an error occurred in the XML source or transformation instructions. 
TemplatesAn object that implements this interface is the runtime representation of processed transformation instructions. 
URIResolver

An object that implements this interface that can be called by the processor to turn a URI used in document(), xsl:import, or xsl:include into a Source object. 

Classes

OutputKeysProvides string constants that can be used to set output properties for a Transformer, or to retrieve output properties from a Transformer or Templates object. 
TransformerAn instance of this abstract class can transform a source tree into a result tree. 
TransformerFactory

A TransformerFactory instance can be used to create Transformer and Templates objects. 

Exceptions

TransformerConfigurationExceptionIndicates a serious configuration error. 
TransformerExceptionThis class specifies an exceptional condition that occurred during the transformation process. 

Errors

TransformerFactoryConfigurationErrorThrown when a problem with configuration with the Transformer Factories exists.