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
PropertiesgetOutputProperties()
Returns the static properties for the xsl:output instruction.
TransformernewTransformer()
Creates a new transformer based on this transformation.

Method Detail

getOutputProperties

public 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.

newTransformer

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