public class ScriptableProperty extends ScriptableBase implements SlingWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME |
JSFUNC_PREFIX
Constructor and Description |
---|
ScriptableProperty() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String name,
org.mozilla.javascript.Scriptable start) |
java.lang.String |
getClassName()
The name of the JavaScript host object "class".
|
protected java.lang.Class<?> |
getStaticType() |
int |
getType() |
java.lang.Class<?>[] |
getWrappedClasses()
The list of Java classes wrapped by this wrapper.
|
protected java.lang.Object |
getWrappedObject() |
void |
jsConstructor(java.lang.Object res) |
java.lang.Object |
jsFunction_toString() |
java.lang.Object |
jsFunction_valueOf(java.lang.String hint) |
java.lang.Object |
jsGet_boolean() |
java.lang.Object |
jsGet_date() |
java.lang.Object |
jsGet_definition() |
int |
jsGet_depth() |
java.lang.Object |
jsGet_double() |
java.lang.Object |
jsGet_length() |
long[] |
jsGet_lengths() |
java.lang.Object |
jsGet_long() |
boolean |
jsGet_modified() |
java.lang.String |
jsGet_name() |
boolean |
jsGet_new() |
java.lang.Object |
jsGet_node() |
java.lang.Object |
jsGet_parent() |
java.lang.String |
jsGet_path() |
java.lang.Object |
jsGet_session() |
java.lang.Object |
jsGet_stream() |
java.lang.Object |
jsGet_string() |
java.lang.Object |
jsGet_value() |
java.lang.Object |
jsGet_values() |
java.lang.String |
toString() |
java.lang.Object |
unwrap() |
getNative
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, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, 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
public static final java.lang.String CLASSNAME
public void jsConstructor(java.lang.Object res)
public java.lang.String getClassName()
SlingWrapper
getClassName
in interface SlingWrapper
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public java.lang.Class<?>[] getWrappedClasses()
SlingWrapper
getWrappedClasses
in interface SlingWrapper
public java.lang.Object jsGet_value()
public java.lang.Object jsGet_values()
public java.lang.Object jsGet_string()
public java.lang.Object jsGet_stream()
public java.lang.Object jsGet_long()
public java.lang.Object jsGet_double()
public java.lang.Object jsGet_date()
public java.lang.Object jsGet_boolean()
public java.lang.Object jsGet_node()
public java.lang.Object jsGet_length()
public long[] jsGet_lengths()
public java.lang.Object jsGet_definition()
public int getType()
public java.lang.Object jsGet_session()
public java.lang.String jsGet_path()
public java.lang.String jsGet_name()
public java.lang.Object jsGet_parent()
public int jsGet_depth()
public boolean jsGet_new()
public boolean jsGet_modified()
public java.lang.Object jsFunction_valueOf(java.lang.String hint)
public java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
get
in class org.mozilla.javascript.ScriptableObject
public java.lang.Object jsFunction_toString()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object unwrap()
unwrap
in interface org.mozilla.javascript.Wrapper
protected java.lang.Class<?> getStaticType()
getStaticType
in class ScriptableBase
protected java.lang.Object getWrappedObject()
getWrappedObject
in class ScriptableBase
Copyright © 2018 The Apache Software Foundation. All rights reserved.