public class ScriptableCalendar extends ScriptableBase implements SlingWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME |
JSFUNC_PREFIX| Constructor and Description |
|---|
ScriptableCalendar() |
| 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".
|
java.lang.Object |
getDefaultValue(java.lang.Class typeHint) |
protected java.lang.Class<?> |
getStaticType() |
java.lang.Class<?>[] |
getWrappedClasses()
The list of Java classes wrapped by this wrapper.
|
protected java.lang.Object |
getWrappedObject() |
void |
jsConstructor(java.lang.Object o) |
java.lang.String |
toString() |
java.lang.Object |
unwrap() |
getNativeapplyDescriptorToAttributeBitset, 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, 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, sizepublic static final java.lang.String CLASSNAME
public java.lang.Class<?>[] getWrappedClasses()
SlingWrappergetWrappedClasses in interface SlingWrapperpublic void jsConstructor(java.lang.Object o)
public java.lang.Object get(java.lang.String name,
org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptableget in class org.mozilla.javascript.ScriptableObjectprotected java.lang.Class<?> getStaticType()
getStaticType in class ScriptableBaseprotected java.lang.Object getWrappedObject()
getWrappedObject in class ScriptableBasepublic java.lang.String getClassName()
SlingWrappergetClassName in interface SlingWrappergetClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object unwrap()
unwrap in interface org.mozilla.javascript.Wrapperpublic java.lang.Object getDefaultValue(java.lang.Class typeHint)
getDefaultValue in interface org.mozilla.javascript.ScriptablegetDefaultValue in class org.mozilla.javascript.ScriptableObjectCopyright © 2018 The Apache Software Foundation. All rights reserved.