Save This Page
Home » bsf-src-2.4.0 » org.apache.bsf.engines.xslt » [javadoc | source]
org.apache.bsf.engines.xslt
public class: XSLTEngine [javadoc | source]
java.lang.Object
   org.apache.bsf.util.BSFEngineImpl
      org.apache.bsf.engines.xslt.XSLTEngine

All Implemented Interfaces:
    BSFEngine

Xerces XSLT interface to BSF. Requires Xalan and Xerces from Apache. This integration uses the BSF registry to pass in any src document and stylesheet base URI that the user may wish to set.
Field Summary
 TransformerFactory tFactory     
 Transformer transformer     
 Log logger     
Fields inherited from org.apache.bsf.util.BSFEngineImpl:
mgr,  lang,  declaredBeans,  classPath,  tempDir,  classLoader
Method from org.apache.bsf.engines.xslt.XSLTEngine Summary:
call,   declareBean,   eval,   initialize,   undeclareBean
Methods from org.apache.bsf.util.BSFEngineImpl:
apply,   compileApply,   compileExpr,   compileScript,   declareBean,   exec,   iexec,   initialize,   propertyChange,   terminate,   undeclareBean
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.bsf.engines.xslt.XSLTEngine Detail:
 public Object call(Object object,
    String method,
    Object[] args) throws BSFException 
    call the named method of the given object.
 public  void declareBean(BSFDeclaredBean bean) throws BSFException 
    Declare a bean by setting it as a parameter
 public Object eval(String source,
    int lineNo,
    int columnNo,
    Object oscript) throws BSFException 
    Evaluate an expression. In this case, an expression is assumed to be a stylesheet of the template style (see the XSLT spec).
 public  void initialize(BSFManager mgr,
    String lang,
    Vector declaredBeans) throws BSFException 
    Initialize the engine.
 public  void undeclareBean(BSFDeclaredBean bean) throws BSFException 
    Undeclare a bean by setting he parameter represeting it to null