Frames | No Frames |
Methods which throw type org.apache.bsf.BSFException | |
Object | XSLTEngine.call(Object object, String method, Object[] args) call the named method of the given object. |
void | Declare a bean by setting it as a parameter
|
Object | XSLTEngine.eval(String source, int lineNo, int columnNo, Object oscript) Evaluate an expression. |
void | Initialize the engine. |
void | Undeclare a bean by setting he parameter represeting it to null
|
Methods which throw type org.apache.bsf.BSFException | |
void | BSFFunctions.addEventListener(Object src, String eventSetName, String filter, Object script) |
void | EngineUtils.addEventListener(Object bean, String eventSetName, String filter, BSFEngine engine, BSFManager manager, String source, int lineNo, int columnNo, Object script) Add a script as a listener to some event coming out of an object. |
Object | BSFEngineImpl.apply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments) Default impl of apply - calls eval ignoring parameters and returns
the result. |
Object | EngineUtils.callBeanMethod(Object bean, String methodName, Object[] args) Finds and invokes a method with the given signature on the given
bean. |
void | BSFEngineImpl.compileApply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb) Default impl of compileApply - calls compileExpr ignoring parameters. |
void | Default impl of compileExpr - generates code that'll create a new
manager, evaluate the expression, and return the value. |
void | Default impl of compileScript - generates code that'll create a new
manager, and execute the script. |
Object | EngineUtils.createBean(String className, args[] ) Creates a new bean. |
void | Declare a bean after the engine has been started. |
void | BSFEngineImpl.exec(String source, int lineNo, int columnNo, Object script) Default impl of execute - calls eval and ignores the result. |
void | BSFEngineImpl.iexec(String source, int lineNo, int columnNo, Object script) Default impl of interactive execution - calls eval and ignores the result. |
void | initialize the engine; called right after construction by
the manager. |
Class | Load a class using the class loader of given manager. |
void | Undeclare a previously declared bean. |
Methods which throw type org.apache.bsf.BSFException | |
Object | BSFManager.apply(String lang, String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments) Apply the given anonymous function of the given language to the given
parameters and return the resulting value. |
Object | BSFEngine.apply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments) This is used by an application to invoke an anonymous function. |
Object | This is used by an application to call into the scripting engine
to make a function/method call. |
void | BSFManager.compileApply(String lang, String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb) Compile the application of the given anonymous function of the given
language to the given parameters into the given CodeBuffer. |
void | BSFEngine.compileApply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb) This is used by an application to compile an anonymous function. |
void | BSFManager.compileExpr(String lang, String source, int lineNo, int columnNo, Object expr, CodeBuffer cb) Compile the given expression of the given language into the given
CodeBuffer. |
void | This is used by an application to compile a value-returning expression. |
void | BSFManager.compileScript(String lang, String source, int lineNo, int columnNo, Object script, CodeBuffer cb) Compile the given script of the given language into the given
CodeBuffer. |
void | This is used by an application to compile some script. |
void | BSFManager.declareBean(String beanName, Object bean, Class type) Declare a bean. |
void | Declare a bean after the engine has been started. |
Object | BSFManager.eval(String lang, String source, int lineNo, int columnNo, Object expr) Evaluate the given expression of the given language and return the
resulting value. |
Object | This is used by an application to evaluate an expression. |
void | BSFManager.exec(String lang, String source, int lineNo, int columnNo, Object script) Execute the given script of the given language. |
void | This is used by an application to execute some script. |
String | BSFManager.getLangFromFilename(String fileName) Determine the language of a script file by looking at the file
extension. |
void | BSFManager.iexec(String lang, String source, int lineNo, int columnNo, Object script) Execute the given script of the given language, attempting to
emulate an interactive session w/ the language. |
void | This is used by an application to execute some script, as though
one were interacting with the language in an interactive session. |
void | This method is used to initialize the engine right after construction. |
BSFEngine | BSFManager.loadScriptingEngine(String lang) Load a scripting engine based on the lang string identifying it. |
void | BSFManager.undeclareBean(String beanName) Undeclare a previously declared bean. |
void | Undeclare a previously declared bean. |
Methods which throw type org.apache.bsf.BSFException | |
Object | JythonEngine.apply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments) Evaluate an anonymous function (differs from eval() in that apply()
handles multiple lines). |
Object | JythonEngine.call(Object object, String method, Object[] args) call the named method of the given object. |
void | Declare a bean
|
Object | JythonEngine.eval(String source, int lineNo, int columnNo, Object script) Evaluate an expression. |
void | JythonEngine.exec(String source, int lineNo, int columnNo, Object script) Execute a script. |
void | JythonEngine.iexec(String source, int lineNo, int columnNo, Object script) Execute script code, emulating console interaction. |
void | Initialize the engine. |
void | Undeclare a previously declared bean. |
Methods which throw type org.apache.bsf.BSFException | |
Object | JavaScriptEngine.call(Object object, String method, Object[] args) Return an object from an extension. |
void | |
Object | JavaScriptEngine.eval(String source, int lineNo, int columnNo, Object oscript) This is used by an application to evaluate a string containing
some expression. |
void | Initialize the engine. |
void |