public class ScriptableCalendar extends ScriptableBase implements SlingWrapper
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSNAME |
static Class<?>[] |
WRAPPED_CLASSES
Calendar is a class, not an interface - so we need to enumerate possible implementations here
|
JSFUNC_PREFIX| Constructor and Description |
|---|
ScriptableCalendar() |
| 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"
|
Object |
getDefaultValue(Class typeHint) |
protected Class<?> |
getStaticType() |
Class<?>[] |
getWrappedClasses()
The list of Java classes wrapped by this wrapper
|
protected Object |
getWrappedObject() |
void |
jsConstructor(Object o) |
String |
toString() |
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, 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, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASSNAME
public static final Class<?>[] WRAPPED_CLASSES
public Class<?>[] getWrappedClasses()
SlingWrappergetWrappedClasses in interface SlingWrapperpublic void jsConstructor(Object o)
public Object get(String name, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptableget in class org.mozilla.javascript.ScriptableObjectprotected Class<?> getStaticType()
getStaticType in class ScriptableBaseprotected Object getWrappedObject()
getWrappedObject in class ScriptableBasepublic String getClassName()
SlingWrappergetClassName in interface SlingWrappergetClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic Object unwrap()
unwrap in interface org.mozilla.javascript.WrapperCopyright © 2014 The Apache Software Foundation. All rights reserved.