Class ScriptableItemMap
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject
-
- org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
-
- All Implemented Interfaces:
Serializable,org.mozilla.javascript.ConstProperties,org.mozilla.javascript.debug.DebuggableObject,org.mozilla.javascript.Scriptable
public class ScriptableItemMap extends org.mozilla.javascript.ScriptableObject- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptableItemMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(int index, org.mozilla.javascript.Scriptable start)Objectget(String name, org.mozilla.javascript.Scriptable start)StringgetClassName()Object[]getIds()booleanhas(int index, org.mozilla.javascript.Scriptable start)booleanhas(String name, org.mozilla.javascript.Scriptable start)voidjsConstructor(Object res)-
Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
-
-
-
-
Field Detail
-
CLASSNAME
public static final String CLASSNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
jsConstructor
public void jsConstructor(Object res)
-
getClassName
public String getClassName()
- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein classorg.mozilla.javascript.ScriptableObject
-
has
public boolean has(int index, org.mozilla.javascript.Scriptable start)- Specified by:
hasin interfaceorg.mozilla.javascript.Scriptable- Overrides:
hasin classorg.mozilla.javascript.ScriptableObject
-
has
public boolean has(String name, org.mozilla.javascript.Scriptable start)
- Specified by:
hasin interfaceorg.mozilla.javascript.Scriptable- Overrides:
hasin classorg.mozilla.javascript.ScriptableObject
-
get
public Object get(int index, org.mozilla.javascript.Scriptable start)
- Specified by:
getin interfaceorg.mozilla.javascript.Scriptable- Overrides:
getin classorg.mozilla.javascript.ScriptableObject
-
get
public Object get(String name, org.mozilla.javascript.Scriptable start)
- Specified by:
getin interfaceorg.mozilla.javascript.Scriptable- Overrides:
getin classorg.mozilla.javascript.ScriptableObject
-
getIds
public Object[] getIds()
- Specified by:
getIdsin interfaceorg.mozilla.javascript.Scriptable- Overrides:
getIdsin classorg.mozilla.javascript.ScriptableObject
-
-