Package org.htmlunit.corejs.javascript
Class AccessorSlot.FunctionGetter
- java.lang.Object
-
- org.htmlunit.corejs.javascript.AccessorSlot.FunctionGetter
-
- All Implemented Interfaces:
java.io.Serializable,AccessorSlot.Getter
- Enclosing class:
- AccessorSlot
static final class AccessorSlot.FunctionGetter extends java.lang.Object implements AccessorSlot.Getter
This is a getter that delegates to a JavaScript function.
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID(package private) java.lang.Objecttarget
-
Constructor Summary
Constructors Constructor Description FunctionGetter(java.lang.Object target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionasGetterFunction(java.lang.String name, Scriptable scope)java.lang.ObjectgetValue(Scriptable start)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
target
final java.lang.Object target
-
-
Method Detail
-
getValue
public java.lang.Object getValue(Scriptable start)
- Specified by:
getValuein interfaceAccessorSlot.Getter
-
asGetterFunction
public Function asGetterFunction(java.lang.String name, Scriptable scope)
- Specified by:
asGetterFunctionin interfaceAccessorSlot.Getter
-
-