Package org.htmlunit.javascript
Class HtmlUnitScriptableProxy<T extends HtmlUnitScriptable>
java.lang.Object
org.htmlunit.corejs.javascript.Delegator
org.htmlunit.javascript.HtmlUnitScriptableProxy<T>
- Type Parameters:
T
- the type of scriptable object being wrapped
- All Implemented Interfaces:
Serializable
,org.htmlunit.corejs.javascript.Callable
,org.htmlunit.corejs.javascript.Constructable
,org.htmlunit.corejs.javascript.Function
,org.htmlunit.corejs.javascript.Scriptable
,org.htmlunit.corejs.javascript.SymbolScriptable
- Direct Known Subclasses:
DocumentProxy
,WindowProxy
public abstract class HtmlUnitScriptableProxy<T extends HtmlUnitScriptable>
extends org.htmlunit.corejs.javascript.Delegator
implements Serializable
Proxy for a
HtmlUnitScriptable
.- See Also:
-
Field Summary
Fields inherited from class org.htmlunit.corejs.javascript.Delegator
obj
Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable
NOT_FOUND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget
(int index, org.htmlunit.corejs.javascript.Scriptable start) getDefaultValue
(Class<?> hint) Delegates call to delegee.boolean
has
(int index, org.htmlunit.corejs.javascript.Scriptable start) boolean
boolean
hasInstance
(org.htmlunit.corejs.javascript.Scriptable instance) void
void
Methods inherited from class org.htmlunit.corejs.javascript.Delegator
call, construct, delete, delete, delete, get, getClassName, getDelegee, getIds, getParentScope, getPrototype, has, newInstance, put, setDelegee, setParentScope, setPrototype
-
Constructor Details
-
HtmlUnitScriptableProxy
public HtmlUnitScriptableProxy()
-
-
Method Details
-
get
- Specified by:
get
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
get
in classorg.htmlunit.corejs.javascript.Delegator
-
get
- Specified by:
get
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
get
in classorg.htmlunit.corejs.javascript.Delegator
-
has
public boolean has(int index, org.htmlunit.corejs.javascript.Scriptable start) - Specified by:
has
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
has
in classorg.htmlunit.corejs.javascript.Delegator
-
has
- Specified by:
has
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
has
in classorg.htmlunit.corejs.javascript.Delegator
-
hasInstance
public boolean hasInstance(org.htmlunit.corejs.javascript.Scriptable instance) - Specified by:
hasInstance
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
hasInstance
in classorg.htmlunit.corejs.javascript.Delegator
-
put
- Specified by:
put
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
put
in classorg.htmlunit.corejs.javascript.Delegator
-
put
- Specified by:
put
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
put
in classorg.htmlunit.corejs.javascript.Delegator
-
getDefaultValue
Delegates call to delegee.- Specified by:
getDefaultValue
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
getDefaultValue
in classorg.htmlunit.corejs.javascript.Delegator
- Parameters:
hint
- the type hint- Returns:
- the default value
- See Also:
-