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.Objectgetterprivate static longserialVersionUID(package private) java.lang.Objectsetter-
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) ScriptableObjectgetPropertyDescriptor(Context cx, Scriptable scope)(package private) java.lang.ObjectgetValue(Scriptable start)(package private) booleansetValue(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:
getPropertyDescriptorin classScriptableObject.Slot
-
setValue
boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start)- Overrides:
setValuein classScriptableObject.Slot
-
getValue
java.lang.Object getValue(Scriptable start)
- Overrides:
getValuein classScriptableObject.Slot
-
-