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 long
serialVersionUID
(package private) java.lang.Object
target
-
Constructor Summary
Constructors Constructor Description FunctionGetter(java.lang.Object target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function
asGetterFunction(java.lang.String name, Scriptable scope)
java.lang.Object
getValue(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:
getValue
in interfaceAccessorSlot.Getter
-
asGetterFunction
public Function asGetterFunction(java.lang.String name, Scriptable scope)
- Specified by:
asGetterFunction
in interfaceAccessorSlot.Getter
-
-