com.infoengine.xml
Class XSL

java.lang.Object
  extended bycom.infoengine.xml.XSL

public class XSL
extends Object

This class is currently not thread-safe. It is single-threaded by implementation (each instance holds and re-uses an XMLSourceFactory throughout its lifespan) -- which could easily be addressed.


Field Summary
(package private) static boolean debug
           
private  XMLSourceFactory factory
           
 
Constructor Summary
XSL()
           
 
Method Summary
private static Hashtable collectParameters(Enumeration params)
           
 XSLTransform getTransform(XMLSource xmlSource, Stylesheet stylesheet, Enumeration params, String styleBaseURI)
          Constructs an XSLTransform object from the given arguments as well as any parameters passed by passParameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

static boolean debug

factory

private XMLSourceFactory factory
Constructor Detail

XSL

public XSL()
Method Detail

getTransform

public XSLTransform getTransform(XMLSource xmlSource,
                                 Stylesheet stylesheet,
                                 Enumeration params,
                                 String styleBaseURI)
                          throws Exception
Constructs an XSLTransform object from the given arguments as well as any parameters passed by passParameters.

Throws:
Exception

collectParameters

private static Hashtable collectParameters(Enumeration params)
                                    throws Exception
Throws:
Exception