Package org.mozilla.javascript
Class Slot
- java.lang.Object
- 
- org.mozilla.javascript.Slot
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Direct Known Subclasses:
- AccessorSlot,- LambdaSlot,- LazyLoadSlot
 
 public class Slot extends java.lang.Object implements java.io.SerializableA 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:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetValue(Scriptable start)booleansetValue(java.lang.Object value, Scriptable owner, Scriptable start)booleansetValue(java.lang.Object value, Scriptable owner, Scriptable start, boolean isThrow)protected voidthrowNoSetterException(Scriptable start, java.lang.Object newValue)
 
- 
- 
- 
Constructor Detail- 
Slotprotected Slot(Slot oldSlot) 
 
- 
 - 
Method Detail- 
setValuepublic final boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start)
 - 
setValuepublic boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start, boolean isThrow)
 - 
getValuepublic java.lang.Object getValue(Scriptable start) 
 - 
throwNoSetterExceptionprotected void throwNoSetterException(Scriptable start, java.lang.Object newValue) 
 
- 
 
-