Package org.htmlunit.corejs.javascript
Class Ref
- java.lang.Object
-
- org.htmlunit.corejs.javascript.Ref
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SpecialRef
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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
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)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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)
-
-