Package org.mozilla.javascript
Class Slot
java.lang.Object
org.mozilla.javascript.Slot
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessorSlot,LambdaAccessorSlot,LambdaSlot,LazyLoadSlot
A Slot is the base class for all properties stored in the ScriptableObject class. There are a
number of different types of slots. This base class represents an "ordinary" property such as a
primitive type or another object. Separate classes are used to represent properties that have
various types of getter and setter methods.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue(Scriptable start) final booleansetValue(Object value, Scriptable owner, Scriptable start) booleansetValue(Object value, Scriptable owner, Scriptable start, boolean isThrow) protected voidthrowNoSetterException(Scriptable start, Object newValue)
-
Constructor Details
-
Slot
-
-
Method Details
-
setValue
-
setValue
-
getValue
-
throwNoSetterException
-