Package org.mozilla.javascript
Class ScriptableObject.Slot
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject.Slot
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ScriptableObject.GetterSlot
- Enclosing class:
- ScriptableObject
static class ScriptableObject.Slot extends java.lang.Object implements java.io.SerializableThis is the object that is stored in the SlotMap. For historical reasons it remains inside this class. SlotMap references a number of members of this class directly.
-
-
Field Summary
Fields Modifier and Type Field Description private shortattributes(package private) intindexOrHash(package private) java.lang.Objectname(package private) ScriptableObject.Slotnext(package private) ScriptableObject.SlotorderedNextprivate static longserialVersionUID(package private) java.lang.Objectvalue
-
Constructor Summary
Constructors Constructor Description Slot(java.lang.Object name, int indexOrHash, int attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) intgetAttributes()(package private) ScriptableObjectgetPropertyDescriptor(Context cx, Scriptable scope)(package private) java.lang.ObjectgetValue(Scriptable start)private voidreadObject(java.io.ObjectInputStream in)(package private) voidsetAttributes(int value)(package private) booleansetValue(java.lang.Object value, Scriptable owner, Scriptable start)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
name
java.lang.Object name
-
indexOrHash
int indexOrHash
-
attributes
private short attributes
-
value
java.lang.Object value
-
next
transient ScriptableObject.Slot next
-
orderedNext
transient ScriptableObject.Slot orderedNext
-
-
Method Detail
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
setValue
boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start)
-
getValue
java.lang.Object getValue(Scriptable start)
-
getAttributes
int getAttributes()
-
setAttributes
void setAttributes(int value)
-
getPropertyDescriptor
ScriptableObject getPropertyDescriptor(Context cx, Scriptable scope)
-
-