jd.xml.xslt.trax
Class TemplatesImpl

java.lang.Object
  extended byjd.xml.xslt.trax.TemplatesImpl
All Implemented Interfaces:
Templates

class TemplatesImpl
extends Object
implements Templates

An implementation of the Trax Templates interface.


Constructor Summary
TemplatesImpl(StylesheetData data, UriResolver resolver)
           
 
Method Summary
 Properties getOutputProperties()
          Return a empty Properties object.
 Transformer newTransformer()
          Create a new transformation context for this Templates object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplatesImpl

public TemplatesImpl(StylesheetData data,
                     UriResolver resolver)
Method Detail

newTransformer

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

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

getOutputProperties

public Properties getOutputProperties()
Return a empty Properties object. See the comment for TransformerImpl.getOutputProperties().

Specified by:
getOutputProperties in interface Templates
Returns:
A Properties object, never null.