public class ScriptableProperty extends ScriptableBase implements SlingWrapper
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME |
JSFUNC_PREFIX
Constructor and Description |
---|
ScriptableProperty() |
Modifier and Type | Method and Description |
---|---|
Object |
get(String name,
org.mozilla.javascript.Scriptable start) |
String |
getClassName()
The name of the JavaScript host object "class".
|
protected Class<?> |
getStaticType() |
int |
getType() |
Class<?>[] |
getWrappedClasses()
The list of Java classes wrapped by this wrapper.
|
protected Object |
getWrappedObject() |
void |
jsConstructor(Object res) |
Object |
jsFunction_toString() |
Object |
jsFunction_valueOf(String hint) |
Object |
jsGet_boolean() |
Object |
jsGet_date() |
Object |
jsGet_definition() |
int |
jsGet_depth() |
Object |
jsGet_double() |
Object |
jsGet_length() |
long[] |
jsGet_lengths() |
Object |
jsGet_long() |
boolean |
jsGet_modified() |
String |
jsGet_name() |
boolean |
jsGet_new() |
Object |
jsGet_node() |
Object |
jsGet_parent() |
String |
jsGet_path() |
Object |
jsGet_session() |
Object |
jsGet_stream() |
Object |
jsGet_string() |
Object |
jsGet_value() |
Object |
jsGet_values() |
String |
toString() |
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 String CLASSNAME
public void jsConstructor(Object res)
public String getClassName()
SlingWrapper
getClassName
in interface SlingWrapper
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public Class<?>[] getWrappedClasses()
SlingWrapper
getWrappedClasses
in interface SlingWrapper
public Object jsGet_value()
public Object jsGet_values()
public Object jsGet_string()
public Object jsGet_stream()
public Object jsGet_long()
public Object jsGet_double()
public Object jsGet_date()
public Object jsGet_boolean()
public Object jsGet_node()
public Object jsGet_length()
public long[] jsGet_lengths()
public Object jsGet_definition()
public int getType()
public Object jsGet_session()
public String jsGet_path()
public String jsGet_name()
public Object jsGet_parent()
public int jsGet_depth()
public boolean jsGet_new()
public boolean jsGet_modified()
public Object get(String name, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
get
in class org.mozilla.javascript.ScriptableObject
public Object jsFunction_toString()
public Object unwrap()
unwrap
in interface org.mozilla.javascript.Wrapper
protected Class<?> getStaticType()
getStaticType
in class ScriptableBase
protected Object getWrappedObject()
getWrappedObject
in class ScriptableBase
Copyright © 2017 The Apache Software Foundation. All rights reserved.