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
-
Method Summary
Modifier and TypeMethodDescriptiongetValue
(Scriptable start) final boolean
setValue
(Object value, Scriptable owner, Scriptable start) boolean
setValue
(Object value, Scriptable owner, Scriptable start, boolean isThrow) protected void
throwNoSetterException
(Scriptable start, Object newValue)
-
Constructor Details
-
Slot
-
-
Method Details
-
setValue
-
setValue
-
getValue
-
throwNoSetterException
-