public class FunctionWrapper extends Object implements org.htmlunit.corejs.javascript.Function, Serializable
Function
delegating all calls to the wrapped instance.NOT_FOUND
Constructor and Description |
---|
FunctionWrapper(org.htmlunit.corejs.javascript.Function wrapped)
Constructs a new instance.
|
public FunctionWrapper(org.htmlunit.corejs.javascript.Function wrapped)
wrapped
- the wrapped functionpublic Object call(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args)
call
in interface org.htmlunit.corejs.javascript.Callable
call
in interface org.htmlunit.corejs.javascript.Function
public String getClassName()
getClassName
in interface org.htmlunit.corejs.javascript.Scriptable
public org.htmlunit.corejs.javascript.Scriptable construct(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, Object[] args)
construct
in interface org.htmlunit.corejs.javascript.Constructable
construct
in interface org.htmlunit.corejs.javascript.Function
public Object get(String name, org.htmlunit.corejs.javascript.Scriptable start)
get
in interface org.htmlunit.corejs.javascript.Scriptable
public Object get(int index, org.htmlunit.corejs.javascript.Scriptable start)
get
in interface org.htmlunit.corejs.javascript.Scriptable
public boolean has(String name, org.htmlunit.corejs.javascript.Scriptable start)
has
in interface org.htmlunit.corejs.javascript.Scriptable
public boolean has(int index, org.htmlunit.corejs.javascript.Scriptable start)
has
in interface org.htmlunit.corejs.javascript.Scriptable
public void put(String name, org.htmlunit.corejs.javascript.Scriptable start, Object value)
put
in interface org.htmlunit.corejs.javascript.Scriptable
public void put(int index, org.htmlunit.corejs.javascript.Scriptable start, Object value)
put
in interface org.htmlunit.corejs.javascript.Scriptable
public void delete(String name)
delete
in interface org.htmlunit.corejs.javascript.Scriptable
public void delete(int index)
delete
in interface org.htmlunit.corejs.javascript.Scriptable
public org.htmlunit.corejs.javascript.Scriptable getPrototype()
getPrototype
in interface org.htmlunit.corejs.javascript.Scriptable
public void setPrototype(org.htmlunit.corejs.javascript.Scriptable prototype)
setPrototype
in interface org.htmlunit.corejs.javascript.Scriptable
public org.htmlunit.corejs.javascript.Scriptable getParentScope()
getParentScope
in interface org.htmlunit.corejs.javascript.Scriptable
public void setParentScope(org.htmlunit.corejs.javascript.Scriptable parent)
setParentScope
in interface org.htmlunit.corejs.javascript.Scriptable
public Object[] getIds()
getIds
in interface org.htmlunit.corejs.javascript.Scriptable
public Object getDefaultValue(Class<?> hint)
getDefaultValue
in interface org.htmlunit.corejs.javascript.Scriptable
public boolean hasInstance(org.htmlunit.corejs.javascript.Scriptable instance)
hasInstance
in interface org.htmlunit.corejs.javascript.Scriptable
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.