javax.xml.transform
Interface Templates


public interface Templates

A compiled, reusable XSL transformation. Implementations of this class are guaranteed to be thread safe.


Method Summary
 Properties getOutputProperties()
          Returns the static properties for the xsl:output instruction.
 Transformer newTransformer()
          Creates a new transformer based on this transformation.
 

Method Detail

newTransformer

Transformer newTransformer()
                           throws TransformerConfigurationException
Creates a new transformer based on this transformation.

Throws:
TransformerConfigurationException

getOutputProperties

Properties getOutputProperties()
Returns the static properties for the xsl:output instruction. Missing properties are defaulted according the XSLT Recommendation, section 16: getProperty(String) returns all properties including defaulted ones, and get(Object) returns only the properties explicitly set in the stylesheet.