Class ScriptableCalendar
java.lang.Object
org.mozilla.javascript.ScriptableObject
org.apache.sling.scripting.javascript.wrapper.ScriptableBase
org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
- All Implemented Interfaces:
- Serializable,- SlingWrapper,- org.mozilla.javascript.ConstProperties,- org.mozilla.javascript.debug.DebuggableObject,- org.mozilla.javascript.Scriptable,- org.mozilla.javascript.Wrapper
- See Also:
- 
Field SummaryFieldsFields inherited from class org.apache.sling.scripting.javascript.wrapper.ScriptableBaseJSFUNC_PREFIXFields inherited from class org.mozilla.javascript.ScriptableObjectCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTFields inherited from interface org.mozilla.javascript.ScriptableNOT_FOUND
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.sling.scripting.javascript.wrapper.ScriptableBasegetNativeMethods inherited from class org.mozilla.javascript.ScriptableObjectassociateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
- 
Field Details- 
CLASSNAME- See Also:
 
 
- 
- 
Constructor Details- 
ScriptableCalendarpublic ScriptableCalendar()
 
- 
- 
Method Details- 
getWrappedClassesDescription copied from interface:SlingWrapperThe list of Java classes wrapped by this wrapper.- Specified by:
- getWrappedClassesin interface- SlingWrapper
- Returns:
- the wrapped classes
 
- 
jsConstructor
- 
get- Specified by:
- getin interface- org.mozilla.javascript.Scriptable
- Overrides:
- getin class- org.mozilla.javascript.ScriptableObject
 
- 
getStaticType- Specified by:
- getStaticTypein class- ScriptableBase
- Returns:
- the static type to use for NativeJavaObject wrapping
 
- 
getWrappedObject- Specified by:
- getWrappedObjectin class- ScriptableBase
- Returns:
- the Java object that we're wrapping, used to create a NativeJavaObject instance for default wrapping.
 
- 
getClassNameDescription copied from interface:SlingWrapperThe name of the JavaScript host object "class".- Specified by:
- getClassNamein interface- org.mozilla.javascript.Scriptable
- Specified by:
- getClassNamein interface- SlingWrapper
- Specified by:
- getClassNamein class- org.mozilla.javascript.ScriptableObject
- Returns:
- the class name
 
- 
toString
- 
unwrap- Specified by:
- unwrapin interface- org.mozilla.javascript.Wrapper
 
- 
getDefaultValue- Specified by:
- getDefaultValuein interface- org.mozilla.javascript.Scriptable
- Overrides:
- getDefaultValuein class- org.mozilla.javascript.ScriptableObject
 
 
-