Module org.htmlunit
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.PropHolder<org.htmlunit.corejs.javascript.Scriptable>,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.- Author:
- Marc Guillemot, Daniel Gredler, Ronald Brill
- See Also:
-
Field Summary
Fields inherited from class org.htmlunit.corejs.javascript.Delegator
objFields 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.booleanhas(int index, org.htmlunit.corejs.javascript.Scriptable start) booleanbooleanhasInstance(org.htmlunit.corejs.javascript.Scriptable instance) voidvoidMethods inherited from class org.htmlunit.corejs.javascript.Delegator
call, construct, delete, delete, delete, get, getClassName, getDelegee, getIds, getParentScope, getPrototype, has, newInstance, put, setDelegee, setParentScope, setPrototypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.htmlunit.corejs.javascript.Function
getDeclarationScope, isConstructorMethods inherited from interface org.htmlunit.corejs.javascript.Scriptable
getAncestor
-
Constructor Details
-
HtmlUnitScriptableProxy
public HtmlUnitScriptableProxy()
-
-
Method Details
-
get
- Specified by:
getin interfaceorg.htmlunit.corejs.javascript.PropHolder<T extends HtmlUnitScriptable>- Specified by:
getin interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
getin classorg.htmlunit.corejs.javascript.Delegator
-
get
- Specified by:
getin interfaceorg.htmlunit.corejs.javascript.PropHolder<T extends HtmlUnitScriptable>- Specified by:
getin interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
getin classorg.htmlunit.corejs.javascript.Delegator
-
has
public boolean has(int index, org.htmlunit.corejs.javascript.Scriptable start) - Specified by:
hasin interfaceorg.htmlunit.corejs.javascript.PropHolder<T extends HtmlUnitScriptable>- Specified by:
hasin interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
hasin classorg.htmlunit.corejs.javascript.Delegator
-
has
- Specified by:
hasin interfaceorg.htmlunit.corejs.javascript.PropHolder<T extends HtmlUnitScriptable>- Specified by:
hasin interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
hasin classorg.htmlunit.corejs.javascript.Delegator
-
hasInstance
public boolean hasInstance(org.htmlunit.corejs.javascript.Scriptable instance) - Specified by:
hasInstancein interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
hasInstancein classorg.htmlunit.corejs.javascript.Delegator
-
put
- Specified by:
putin interfaceorg.htmlunit.corejs.javascript.PropHolder<T extends HtmlUnitScriptable>- Specified by:
putin interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
putin classorg.htmlunit.corejs.javascript.Delegator
-
put
- Specified by:
putin interfaceorg.htmlunit.corejs.javascript.PropHolder<T extends HtmlUnitScriptable>- Specified by:
putin interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
putin classorg.htmlunit.corejs.javascript.Delegator
-
getDefaultValue
Delegates call to delegee.- Specified by:
getDefaultValuein interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
getDefaultValuein classorg.htmlunit.corejs.javascript.Delegator- Parameters:
hint- the type hint- Returns:
- the default value
- See Also:
-
Scriptable.getDefaultValue(java.lang.Class<?>)
-