org.openprivacy.reptile.xslt
Class DOMStylesheetEngine

java.lang.Object
  |
  +--org.openprivacy.reptile.xslt.DOMStylesheetEngine
All Implemented Interfaces:
StylesheetEngine

public class DOMStylesheetEngine
extends java.lang.Object
implements StylesheetEngine

Given an XML document and a StylesheetStack this will use TRAX to transform all the content.

Version:
$Id: DOMStylesheetEngine.java,v 1.6 2002/02/21 22:41:24 burton Exp $
Author:
Kevin A. Burton

Constructor Summary
DOMStylesheetEngine()
           
 
Method Summary
static DOMStylesheetEngine getInstance()
          Get an instance of the DOMStylesheetEngine.
 java.lang.String transform(SequenceDispatchEntry sde)
           
 java.lang.String transform(SequenceDispatchEntry sde, ParameterPasser params)
          Transform the given XML with all the given Stylesheets in the StylesheetStack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMStylesheetEngine

public DOMStylesheetEngine()
Method Detail

getInstance

public static DOMStylesheetEngine getInstance()
Get an instance of the DOMStylesheetEngine.


transform

public java.lang.String transform(SequenceDispatchEntry sde)
                           throws java.lang.Exception
Specified by:
transform in interface StylesheetEngine
java.lang.Exception
See Also:
StylesheetEngine.transform(org.openprivacy.reptile.xslt.SequenceDispatchEntry)

transform

public java.lang.String transform(SequenceDispatchEntry sde,
                                  ParameterPasser params)
                           throws java.lang.Exception
Transform the given XML with all the given Stylesheets in the StylesheetStack. if Talon is in debug mode we will write out temp files for debuging stylesheet output. If the given SequenceDispatchEntry is cacheable this might return content from cache and skip any CPU intensive tasks.

Specified by:
transform in interface StylesheetEngine
java.lang.Exception