Package org.mozilla.javascript
Class Ref
- java.lang.Object
-
- org.mozilla.javascript.Ref
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class Ref extends java.lang.Object implements java.io.Serializable
Generic notion of reference object that know how to query/modify the target objects based on some property/index.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Ref()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
delete(Context cx)
abstract java.lang.Object
get(Context cx)
boolean
has(Context cx)
abstract java.lang.Object
set(Context cx, java.lang.Object value)
Deprecated.Useset(Context, Scriptable, Object)
insteadjava.lang.Object
set(Context cx, Scriptable scope, java.lang.Object value)
-
-
-
Method Detail
-
has
public boolean has(Context cx)
-
get
public abstract java.lang.Object get(Context cx)
-
set
@Deprecated public abstract java.lang.Object set(Context cx, java.lang.Object value)
Deprecated.Useset(Context, Scriptable, Object)
instead
-
set
public java.lang.Object set(Context cx, Scriptable scope, java.lang.Object value)
-
delete
public boolean delete(Context cx)
-
-