Package org.mozilla.javascript
Class ScriptableObject.GetterSlot
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject.Slot
-
- org.mozilla.javascript.ScriptableObject.GetterSlot
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ScriptableObject
static final class ScriptableObject.GetterSlot extends ScriptableObject.Slot
A GetterSlot is a specialication of a Slot for properties that are assigned functions via Object.defineProperty() and its friends instead of regular values.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Object
getter
private static long
serialVersionUID
(package private) java.lang.Object
setter
-
Fields inherited from class org.mozilla.javascript.ScriptableObject.Slot
indexOrHash, name, next, orderedNext, value
-
-
Constructor Summary
Constructors Constructor Description GetterSlot(java.lang.Object name, int indexOrHash, int attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ScriptableObject
getPropertyDescriptor(Context cx, Scriptable scope)
(package private) java.lang.Object
getValue(Scriptable start)
(package private) boolean
setValue(java.lang.Object value, Scriptable owner, Scriptable start)
-
Methods inherited from class org.mozilla.javascript.ScriptableObject.Slot
getAttributes, setAttributes
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
getter
java.lang.Object getter
-
setter
java.lang.Object setter
-
-
Method Detail
-
getPropertyDescriptor
ScriptableObject getPropertyDescriptor(Context cx, Scriptable scope)
- Overrides:
getPropertyDescriptor
in classScriptableObject.Slot
-
setValue
boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start)
- Overrides:
setValue
in classScriptableObject.Slot
-
getValue
java.lang.Object getValue(Scriptable start)
- Overrides:
getValue
in classScriptableObject.Slot
-
-