org.apache.bsf.engines.javascript

Class JsObjectStub

public class JsObjectStub extends Skeleton implements JsObject

Insert the type's description here. Creation date: (8/24/2001 9:54:48 AM)

UNKNOWN: Administrator

Constructor Summary
JsObjectStub(RhinoEngineDebugger rhinoDbg, Scriptable object)
Method Summary
voiddefine(String propertyName, JsObject value, int attributes)
voiddefine(String propertyName, Object value, int attributes)
voiddelete(int index)
voiddelete(String name)
Objectget(int index)
Objectget(String name)
StringgetClassName()
ObjectgetDefaultValue(Class hint)
Object[]getIds(boolean all)
JsObjectgetPrototype()
JsObjectgetScope()
booleanhas(int index)
booleanhas(String name)
booleanhasInstance(JsObject instance)
booleanisFunction()
booleanisScript()
booleanisWrapper()
voidput(int index, Object value)
voidput(String name, Object value)
voidsetPrototype(JsObject prototype)
voidsetScope(JsObject jsobj)
Objectunwrap()
booleanwrapsJavaObject()

Constructor Detail

JsObjectStub

public JsObjectStub(RhinoEngineDebugger rhinoDbg, Scriptable object)

Method Detail

define

public void define(String propertyName, JsObject value, int attributes)

define

public void define(String propertyName, Object value, int attributes)

delete

public void delete(int index)

delete

public void delete(String name)

get

public Object get(int index)

get

public Object get(String name)

getClassName

public String getClassName()

getDefaultValue

public Object getDefaultValue(Class hint)

getIds

public Object[] getIds(boolean all)

getPrototype

public JsObject getPrototype()

getScope

public JsObject getScope()

has

public boolean has(int index)

has

public boolean has(String name)

hasInstance

public boolean hasInstance(JsObject instance)

isFunction

public boolean isFunction()

isScript

public boolean isScript()

isWrapper

public boolean isWrapper()

put

public void put(int index, Object value)

put

public void put(String name, Object value)

setPrototype

public void setPrototype(JsObject prototype)

setScope

public void setScope(JsObject jsobj)

unwrap

public Object unwrap()

wrapsJavaObject

public boolean wrapsJavaObject()