| java.lang.Object org.apache.bsf.util.BSFEngineImpl org.apache.bsf.engines.jython.JythonEngine
JythonEngine | public class JythonEngine extends BSFEngineImpl (Code) | | This is the interface to Jython (http://www.jython.org/) from BSF.
It's derived from the JPython 1.x engine
author: Sanjiva Weerawarana author: Finn Bock author: Chuck Murcko |
Field Summary | |
BSFPythonInterpreter | interp |
Method Summary | |
public Object | 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). | public Object | call(Object object, String method, Object[] args) call the named method of the given object. | public void | declareBean(BSFDeclaredBean bean) | public Object | eval(String source, int lineNo, int columnNo, Object script) Evaluate an expression. | public void | exec(String source, int lineNo, int columnNo, Object script) Execute a script. | public void | iexec(String source, int lineNo, int columnNo, Object script) Execute script code, emulating console interaction. | public void | initialize(BSFManager mgr, String lang, Vector declaredBeans) Initialize the engine. | public void | undeclareBean(BSFDeclaredBean bean) Undeclare a previously declared bean. | public Object | unwrap(PyObject result) |
interp | BSFPythonInterpreter interp(Code) | | |
iexec | public void iexec(String source, int lineNo, int columnNo, Object script) throws BSFException(Code) | | Execute script code, emulating console interaction.
|
Methods inherited from org.apache.bsf.util.BSFEngineImpl | public Object apply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments) throws BSFException(Code)(Java Doc) public void compileApply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb) throws BSFException(Code)(Java Doc) public void compileExpr(String source, int lineNo, int columnNo, Object expr, CodeBuffer cb) throws BSFException(Code)(Java Doc) public void compileScript(String source, int lineNo, int columnNo, Object script, CodeBuffer cb) throws BSFException(Code)(Java Doc) public void declareBean(BSFDeclaredBean bean) throws BSFException(Code)(Java Doc) public void exec(String source, int lineNo, int columnNo, Object script) throws BSFException(Code)(Java Doc) public void iexec(String source, int lineNo, int columnNo, Object script) throws BSFException(Code)(Java Doc) public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException(Code)(Java Doc) public void propertyChange(PropertyChangeEvent e)(Code)(Java Doc) public void terminate()(Code)(Java Doc) public void undeclareBean(BSFDeclaredBean bean) throws BSFException(Code)(Java Doc)
|
|
|