Package org.exolab.adaptx.jaxp.transform
Class TemplatesImpl
java.lang.Object
org.exolab.adaptx.jaxp.transform.TemplatesImpl
- All Implemented Interfaces:
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 06:40:54 +0200 (Tue, 09 Sep 2003) $
- Author:
- Keith Visco
-
Constructor Summary
ConstructorsConstructorDescriptionTemplatesImpl
(XSLTStylesheet stylesheet) Creates a new TemplatesImpl for the given stylesheet -
Method Summary
Modifier and TypeMethodDescriptionReturns the output Properties as specified by the JAXP 1.1 specification, please see the Javadoc for Templates for more information.Return the XSLTStylesheet being wrapped by this TemplatesImplCreate a new transformation context for this Templates object.
-
Constructor Details
-
TemplatesImpl
Creates a new TemplatesImpl for the given stylesheet- Parameters:
stylesheet
- the XSLTStylesheet to create the TemplatesImpl for.
-
-
Method Details
-
newTransformer
Create a new transformation context for this Templates object.- Specified by:
newTransformer
in interfaceTemplates
- Returns:
- A valid non-null instance of a Transformer.
- Throws:
TransformerConfigurationException
- if a Transformer can not be created.
-
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 interfaceTemplates
- Returns:
- a copy of the output Properties, never null.
-
getStylesheet
Return the XSLTStylesheet being wrapped by this TemplatesImpl- Returns:
- the XSLTStylesheet
-