Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.rohanclan.ashpool.core
Class BasicXSLEngine  view BasicXSLEngine download BasicXSLEngine.java

java.lang.Object
  extended bycom.rohanclan.ashpool.core.BasicXSLEngine

public class BasicXSLEngine
extends java.lang.Object

creates a new instance of treebeard


Field Summary
 java.util.Vector params
          the params to pass to the style sheet
static java.lang.String SAXFactory
           
static java.lang.String XSLTFactory
          which transformer to use: saxon by default
 
Constructor Summary
BasicXSLEngine()
          Creates a new instance of BasicXSLEngine
 
Method Summary
 void clearParams()
          set fresh params
 void doFactoryReset()
           
 void setParam(java.lang.String name, java.lang.String value)
          set a single param
 void setParams(java.util.Vector inparams)
          set a bunch of params
 void setSAXFactory(java.lang.String factory)
          change the sax factory (call doFactoryRest)
 void setXSLFactory(java.lang.String factory)
          change the xslt factory (call doFactoryRest)
 long transform(java.io.InputStream xmlin, java.io.InputStream xslin, java.io.OutputStream output)
          Performs an xslt transformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSLTFactory

public static java.lang.String XSLTFactory
which transformer to use: saxon by default


SAXFactory

public static java.lang.String SAXFactory

params

public java.util.Vector params
the params to pass to the style sheet

Constructor Detail

BasicXSLEngine

public BasicXSLEngine()
Creates a new instance of BasicXSLEngine

Method Detail

setXSLFactory

public void setXSLFactory(java.lang.String factory)
change the xslt factory (call doFactoryRest)


setSAXFactory

public void setSAXFactory(java.lang.String factory)
change the sax factory (call doFactoryRest)


setParam

public void setParam(java.lang.String name,
                     java.lang.String value)
set a single param


clearParams

public void clearParams()
set fresh params


setParams

public void setParams(java.util.Vector inparams)
set a bunch of params


doFactoryReset

public void doFactoryReset()

transform

public long transform(java.io.InputStream xmlin,
                      java.io.InputStream xslin,
                      java.io.OutputStream output)
               throws java.lang.Exception
Performs an xslt transformation