Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.mozilla.javascript.ScriptableObject
org.mozilla.javascript.IdScriptableObject
org.mozilla.javascript.BaseFunction
org.mozilla.javascript.IdFunctionObject
public class IdFunctionObject
extends BaseFunction
Field Summary |
Fields inherited from class org.mozilla.javascript.ScriptableObject | |
DONTENUM , EMPTY , PERMANENT , READONLY |
Fields inherited from interface org.mozilla.javascript.Scriptable | |
NOT_FOUND |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
Object |
|
Scriptable |
|
void | |
int |
|
String | |
int | |
Scriptable |
|
boolean |
|
void |
|
void |
|
int |
|
RuntimeException |
|
Methods inherited from class org.mozilla.javascript.BaseFunction | |
call , construct , createObject , execIdCall , fillConstructorProperties , findInstanceIdInfo , findPrototypeId , getArity , getClassName , getClassPrototype , getFunctionName , getInstanceIdName , getInstanceIdValue , getLength , getMaxInstanceId , hasInstance , initPrototypeId , setImmunePrototypeProperty , setInstanceIdValue |
Methods inherited from class org.mozilla.javascript.IdScriptableObject | |
activatePrototypeMap , addIdFunctionProperty , defaultGet , defaultPut , delete , execIdCall , exportAsJSClass , fillConstructorProperties , findInstanceIdInfo , findPrototypeId , get , getAttributes , getInstanceIdName , getInstanceIdValue , getMaxInstanceId , has , hasPrototypeMap , incompatibleCallError , initPrototypeConstructor , initPrototypeId , initPrototypeMethod , initPrototypeValue , instanceIdInfo , put , setAttributes , setInstanceIdValue |
public IdFunctionObject(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope)
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
Perform the call.
- Overrides:
- call in interface BaseFunction
- Parameters:
cx
- the current Context for this threadscope
- the scope to use to resolve properties.thisObj
- the JavaScriptthis
objectargs
- the array of arguments
- Returns:
- the result of the call
public Scriptable createObject(Context cx, Scriptable scope)
- Overrides:
- createObject in interface BaseFunction
public void exportAsScopeProperty()
public Scriptable getPrototype()
Get the prototype of the object.
- Specified by:
- getPrototype in interface Scriptable
- Overrides:
- getPrototype in interface ScriptableObject
- Returns:
- the prototype
public final boolean hasTag(Object tag)
public final int methodId()
public final RuntimeException unknown()