org.apache.bsf.engines.javascript

Class JsEngineStub

public class JsEngineStub extends Skeleton implements JsEngine

Insert the type's description here. Creation date: (9/6/2001 1:21:46 PM)

UNKNOWN: Administrator

Constructor Summary
JsEngineStub(RhinoEngineDebugger rhinoDbg)
JsEngineStub constructor comment.
Method Summary
Objecteval(String docname, String exp, int lineNo)
JsContextgetContext(int depth)
intgetContextCount()
JsCallbacksgetDebugger()
Return the current debugger.
JsObjectgetGlobalObject()
StringgetThread()
StringgetThreadGroup()
JsObjectgetUndefinedValue()
booleanisSuspended()
booleanpoll()
voidrun()
voidsetDebugger(JsCallbacks debugger)
Set the associated debugger.
voidstepIn()
voidstepOut()
voidstepOver()

Constructor Detail

JsEngineStub

public JsEngineStub(RhinoEngineDebugger rhinoDbg)
JsEngineStub constructor comment.

Method Detail

eval

public Object eval(String docname, String exp, int lineNo)

getContext

public JsContext getContext(int depth)

getContextCount

public int getContextCount()

getDebugger

public JsCallbacks getDebugger()
Return the current debugger.

Returns: the debugger, or null if none is attached.

getGlobalObject

public JsObject getGlobalObject()

getThread

public String getThread()

getThreadGroup

public String getThreadGroup()

getUndefinedValue

public JsObject getUndefinedValue()

isSuspended

public boolean isSuspended()

poll

public boolean poll()

run

public void run()

setDebugger

public void setDebugger(JsCallbacks debugger)
Set the associated debugger.

Parameters: debugger the debugger to be used on callbacks from the engine.

stepIn

public void stepIn()

stepOut

public void stepOut()

stepOver

public void stepOver()