Package org.htmlunit.corejs.javascript
Class AccessorSlot.FunctionSetter
- java.lang.Object
-
- org.htmlunit.corejs.javascript.AccessorSlot.FunctionSetter
-
- All Implemented Interfaces:
java.io.Serializable,AccessorSlot.Setter
- Enclosing class:
- AccessorSlot
static final class AccessorSlot.FunctionSetter extends java.lang.Object implements AccessorSlot.Setter
Invoke the setter as a JavaScript function, taking care that it might actually be Undefined.
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID(package private) java.lang.Objecttarget
-
Constructor Summary
Constructors Constructor Description FunctionSetter(java.lang.Object target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionasSetterFunction(java.lang.String name, Scriptable scope)booleansetValue(java.lang.Object value, Scriptable owner, Scriptable start)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
target
final java.lang.Object target
-
-
Method Detail
-
setValue
public boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start)- Specified by:
setValuein interfaceAccessorSlot.Setter
-
asSetterFunction
public Function asSetterFunction(java.lang.String name, Scriptable scope)
- Specified by:
asSetterFunctionin interfaceAccessorSlot.Setter
-
-