Skip to content

Most visited

Recently visited

added in API level 8




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


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

Source An object that implements this interface contains the information needed to act as source input (XML source or transformation instructions). 
SourceLocator This interface is primarily for the purposes of reporting where an error occurred in the XML source or transformation instructions. 
Templates An object that implements this interface is the runtime representation of processed transformation instructions. 

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. 


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

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


TransformerConfigurationException Indicates a serious configuration error. 
TransformerException This class specifies an exceptional condition that occurred during the transformation process. 


TransformerFactoryConfigurationError Thrown when a problem with configuration with the Transformer Factories exists. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)