org.apache.xalan.xpath
Class XSLTJavaClassEngine

java.lang.Object
  |
  +--com.ibm.bsf.util.BSFEngineImpl
        |
        +--org.apache.xalan.xpath.XSLTJavaClassEngine

public class XSLTJavaClassEngine
extends com.ibm.bsf.util.BSFEngineImpl

**For internal use only** This is a custom scripting engine for the XSLT processor's needs of calling into Java objects.


Constructor Summary
XSLTJavaClassEngine()
          **For internal use only**  
 
Method Summary
 java.lang.Object call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)
          **For internal use only** call the named method on the object that was loaded by eval.
 java.lang.Object eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)
          **For internal use only** This is used by an application to evaluate an object containing some expression - clearly not possible for compiled code ..
 
Methods inherited from class com.ibm.bsf.util.BSFEngineImpl
compileExpr, compileScript, declareBean, exec, initialize, propertyChange, setDebug, undeclareBean
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTJavaClassEngine

public XSLTJavaClassEngine()
Method Detail

eval

public java.lang.Object eval(java.lang.String source,
                             int lineNo,
                             int columnNo,
                             java.lang.Object oscript)
                      throws com.ibm.bsf.BSFException
**For internal use only** This is used by an application to evaluate an object containing some expression - clearly not possible for compiled code ..
Overrides:
eval in class com.ibm.bsf.util.BSFEngineImpl

call

public java.lang.Object call(java.lang.Object object,
                             java.lang.String method,
                             java.lang.Object[] args)
                      throws com.ibm.bsf.BSFException
**For internal use only** call the named method on the object that was loaded by eval. The method selection stuff is very XSLT-specific, hence the custom engine.
Parameters:
object - ignored - should always be null
Overrides:
call in class com.ibm.bsf.util.BSFEngineImpl