Package org.mozilla.javascript
Class Ref
- java.lang.Object
-
- org.mozilla.javascript.Ref
-
- All Implemented Interfaces:
Serializable
public abstract class Ref extends Object implements 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 Object
get(Context cx)
boolean
has(Context cx)
abstract Object
set(Context cx, Object value)
Deprecated.Useset(Context, Scriptable, Object)
insteadObject
set(Context cx, Scriptable scope, Object value)
-
-
-
Method Detail
-
has
public boolean has(Context cx)
-
set
@Deprecated public abstract Object set(Context cx, Object value)
Deprecated.Useset(Context, Scriptable, Object)
instead
-
set
public Object set(Context cx, Scriptable scope, Object value)
-
delete
public boolean delete(Context cx)
-
-