org.exolab.adaptx.jaxp.transform
Class TemplatesImpl

java.lang.Object
  extended by org.exolab.adaptx.jaxp.transform.TemplatesImpl
All Implemented Interfaces:
javax.xml.transform.Templates

public class TemplatesImpl
extends java.lang.Object
implements javax.xml.transform.Templates

An implementation of javax.xml.transform.Templates for use with Adaptx. For more information on the Templates class please see the JAXP 1.1 documenation.

Version:
$Revision: 3827 $ $Date: 2003-09-09 00:40:54 -0400 (Tue, 09 Sep 2003) $
Author:
Keith Visco

Constructor Summary
TemplatesImpl(XSLTStylesheet stylesheet)
          Creates a new TemplatesImpl for the given stylesheet
 
Method Summary
 java.util.Properties getOutputProperties()
          Returns the output Properties as specified by the JAXP 1.1 specification, please see the Javadoc for Templates for more information.
 XSLTStylesheet getStylesheet()
          Return the XSLTStylesheet being wrapped by this TemplatesImpl
 javax.xml.transform.Transformer newTransformer()
          Create a new transformation context for this Templates object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplatesImpl

public TemplatesImpl(XSLTStylesheet stylesheet)
Creates a new TemplatesImpl for the given stylesheet

Parameters:
stylesheet - the XSLTStylesheet to create the TemplatesImpl for.
Method Detail

newTransformer

public javax.xml.transform.Transformer newTransformer()
                                               throws javax.xml.transform.TransformerConfigurationException
Create a new transformation context for this Templates object.

Specified by:
newTransformer in interface javax.xml.transform.Templates
Returns:
A valid non-null instance of a Transformer.
Throws:
javax.xml.transform.TransformerConfigurationException - if a Transformer can not be created.

getOutputProperties

public java.util.Properties getOutputProperties()
Returns the output Properties as specified by the JAXP 1.1 specification, please see the Javadoc for Templates for more information.

Specified by:
getOutputProperties in interface javax.xml.transform.Templates
Returns:
a copy of the output Properties, never null.

getStylesheet

public XSLTStylesheet getStylesheet()
Return the XSLTStylesheet being wrapped by this TemplatesImpl

Returns:
the XSLTStylesheet