public class JavaScriptFunctionsObject
extends java.lang.Object
implements org.mozilla.javascript.Scriptable
Constructor and Description |
---|
JavaScriptFunctionsObject(org.mozilla.javascript.Context context,
FunctionsUtil functionsUtil,
JREvaluator evaluator) |
Modifier and Type | Method and Description |
---|---|
void |
delete(int index) |
void |
delete(java.lang.String name) |
java.lang.Object |
get(int index,
org.mozilla.javascript.Scriptable start) |
java.lang.Object |
get(java.lang.String name,
org.mozilla.javascript.Scriptable start) |
java.lang.String |
getClassName() |
java.lang.Object |
getDefaultValue(java.lang.Class<?> hint) |
java.lang.Object[] |
getIds() |
org.mozilla.javascript.Scriptable |
getParentScope() |
org.mozilla.javascript.Scriptable |
getPrototype() |
boolean |
has(int index,
org.mozilla.javascript.Scriptable start) |
boolean |
has(java.lang.String name,
org.mozilla.javascript.Scriptable start) |
boolean |
hasInstance(org.mozilla.javascript.Scriptable instance) |
void |
put(int index,
org.mozilla.javascript.Scriptable start,
java.lang.Object value) |
void |
put(java.lang.String name,
org.mozilla.javascript.Scriptable start,
java.lang.Object value) |
protected java.lang.Object |
resolveFunction(java.lang.String name,
org.mozilla.javascript.Scriptable start) |
void |
setParentScope(org.mozilla.javascript.Scriptable parent) |
void |
setPrototype(org.mozilla.javascript.Scriptable prototype) |
public JavaScriptFunctionsObject(org.mozilla.javascript.Context context, FunctionsUtil functionsUtil, JREvaluator evaluator)
public java.lang.String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
public java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
protected java.lang.Object resolveFunction(java.lang.String name, org.mozilla.javascript.Scriptable start)
public java.lang.Object get(int index, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
public boolean has(java.lang.String name, org.mozilla.javascript.Scriptable start)
has
in interface org.mozilla.javascript.Scriptable
public boolean has(int index, org.mozilla.javascript.Scriptable start)
has
in interface org.mozilla.javascript.Scriptable
public void put(java.lang.String name, org.mozilla.javascript.Scriptable start, java.lang.Object value)
put
in interface org.mozilla.javascript.Scriptable
public void put(int index, org.mozilla.javascript.Scriptable start, java.lang.Object value)
put
in interface org.mozilla.javascript.Scriptable
public void delete(java.lang.String name)
delete
in interface org.mozilla.javascript.Scriptable
public void delete(int index)
delete
in interface org.mozilla.javascript.Scriptable
public org.mozilla.javascript.Scriptable getPrototype()
getPrototype
in interface org.mozilla.javascript.Scriptable
public void setPrototype(org.mozilla.javascript.Scriptable prototype)
setPrototype
in interface org.mozilla.javascript.Scriptable
public org.mozilla.javascript.Scriptable getParentScope()
getParentScope
in interface org.mozilla.javascript.Scriptable
public void setParentScope(org.mozilla.javascript.Scriptable parent)
setParentScope
in interface org.mozilla.javascript.Scriptable
public java.lang.Object[] getIds()
getIds
in interface org.mozilla.javascript.Scriptable
public java.lang.Object getDefaultValue(java.lang.Class<?> hint)
getDefaultValue
in interface org.mozilla.javascript.Scriptable
public boolean hasInstance(org.mozilla.javascript.Scriptable instance)
hasInstance
in interface org.mozilla.javascript.Scriptable
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com