Frames | No Frames |
Methods which throw type org.apache.bsf.BSFException | |
void | ActiveScriptEngine.addEventListener(Object bean, String event, String filter, String script) add an event listener
|
void | JavaBeanAddEventListener.addEventListener(Object bean, String name, String eventFilter, String eventText) |
Object | ActiveScriptEngine.call(Object object, String method, Object[] args) Return an object from an extension. |
Object | ActiveScriptEngine.createBean(Object[] args) createBean
|
void | Declare a bean after the engine has been started. |
Object | ActiveScriptEngine.eval(String source, int lineNo, int columnNo, Object oscript) This is used by an application to evaluate a string containing
some expression. |
void | ActiveScriptEngine.exec(String source, int lineNo, int columnNo, Object script) This is used by an application to execute a string containing
a script to execute. |
byte[] | |
void | initialize the engine; called right after construction by
the manager. |
void | Undeclare a previously declared bean. |
Methods which throw type org.apache.bsf.BSFException | |
Object | NetRexxEngine.call(Object object, String method, Object[] args) Return an object from an extension. |
void | |
Object | NetRexxEngine.eval(String source, int lineNo, int columnNo, Object script) Override impl of execute. |
void | NetRexxEngine.exec(String source, int lineNo, int columnNo, Object script) Override impl of execute. |
Object | NetRexxEngine.execEvalShared(String source, int lineNo, int columnNo, Object oscript, boolean returnsObject) This is shared code for the exec() and eval() operations. |
void | initialize the engine; called right after construction by
the manager. |
void |
Methods which throw type org.apache.bsf.BSFException | |
Object | JPythonEngine.call(Object object, String method, Object[] args) call the named method of the given object. |
void | Declare a bean
|
Object | JPythonEngine.eval(String source, int lineNo, int columnNo, Object script) Evaluate an expression. |
void | JPythonEngine.exec(String source, int lineNo, int columnNo, Object script) Execute a script. |
void | Initialize the engine. |
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 | 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 | BSFEngine.placeBreakpointAtLine(int brkptid, String docname, int lineno) |
void | BSFEngine.placeBreakpointAtOffset(int brkptid, String docname, int offset) |
void | BSFEngine.removeBreakpoint(String docname, int brkptid) |
void | BSFEngine.setEntryExit(String docname, boolean on) |
void | BSFManager.undeclareBean(String beanName) Undeclare a previously declared bean. |
void | Undeclare a previously declared bean. |
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 ignorning 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 ignorning 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 | |
void | BSFEngineImpl.exec(String source, int lineNo, int columnNo, Object script) Default impl of execute - 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 | BSFEngineImpl.placeBreakpointAtLine(int brkptid, String docname, int lineno) |
void | BSFEngineImpl.placeBreakpointAtOffset(int brkptid, String docname, int offset) |
void | BSFEngineImpl.removeBreakpoint(String docname, int brkptid) |
void | BSFEngineImpl.setEntryExit(String docname, boolean on) |
void |
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 | |
Object | JavaScriptEngine.call(Object object, String method, Object[] args) Return an object from an extension. |
void | FnOrScript.compile(Context cx, Scriptable global) |
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. |
BreakPoint | DocumentCell.findBreakpointAtLine(int lineno) |
BreakPoint | FnOrScript.findBreakpointAtLine(int lineno) |
BreakPoint | DocumentCell.findBreakpointAtOffset(int offset) |
BreakPoint | FnOrScript.findBreakpointAtOffset(int offset) |
int | |
int | |
int | |
int | |
int | |
int | |
int | |
void | initialize the engine. |
void | JavaScriptEngine.placeBreakpointAtLine(int brkptid, String docname, int lineno) |
void | JavaScriptEngine.placeBreakpointAtOffset(int brkptid, String docname, int offset) |
FnOrScript | DocumentCell.registerFnOrScriptLines(Reader reader, int startLine, int column) |
FnOrScript | DocumentCell.registerFnOrScriptLines(String source, int startLine, int column) |
FnOrScript | DocumentCell.registerFnOrScriptRange(Reader reader, int offset) |
FnOrScript | DocumentCell.registerFnOrScriptRange(String source, int offset) |
void | JavaScriptEngine.removeBreakpoint(String docname, int brkptid) |
void | RhinoEngineDebugger.removeBreakpoint(String docname, int brkptid) |
void | JavaScriptEngine.setEntryExit(String docname, boolean on) |
void | RhinoEngineDebugger.setEntryExit(String docname, boolean on) |
void | FnOrScript.specifyLinesPos(Reader reader, int startLine, int column) |
void | FnOrScript.specifyRange(Reader reader, int offset) |
void |
Methods which throw type org.apache.bsf.BSFException | |
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 | Initialize the engine. |
void | Undeclare a previously declared bean. |
Methods which throw type org.apache.bsf.BSFException | |
Object | JavaClassEngine.call(Object object, String method, Object[] args) call the named method of the given object. |
Object | JavaClassEngine.eval(String source, int lineNo, int columnNo, Object oscript) This is used by an application to evaluate an object containing
some expression - clearly not possible for compiled code .. |
Methods which throw type org.apache.bsf.BSFException | |
Object | JaclEngine.call(Object obj, String method, Object[] args) |
void | Declare a bean
|
Object | JaclEngine.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 | Undeclare a previously declared bean. |