|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mozilla.javascript.ScriptableObject
org.apache.sling.scripting.javascript.wrapper.ScriptableBase
org.apache.sling.scripting.javascript.wrapper.ScriptableNode
org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
public class ScriptableVersion
Scriptable wrapper for the JCR Version class
| Field Summary | |
|---|---|
static java.lang.String |
CLASSNAME
|
static java.lang.Class<?>[] |
WRAPPED_CLASSES
|
| Fields inherited from class org.apache.sling.scripting.javascript.wrapper.ScriptableBase |
|---|
JSFUNC_PREFIX |
| Fields inherited from class org.mozilla.javascript.ScriptableObject |
|---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
| Fields inherited from interface org.mozilla.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
ScriptableVersion()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
The name of the JavaScript host object "class" |
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 res)
|
java.lang.Class<?> |
jsGet_javascriptWrapperClass()
Used in testing, to check that the right wrapper is used. |
| Methods inherited from class org.apache.sling.scripting.javascript.wrapper.ScriptableBase |
|---|
getNative |
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
|---|
associateValue, 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, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASSNAME
public static final java.lang.Class<?>[] WRAPPED_CLASSES
| Constructor Detail |
|---|
public ScriptableVersion()
| Method Detail |
|---|
public void jsConstructor(java.lang.Object res)
jsConstructor in class ScriptableNodeprotected java.lang.Class<?> getStaticType()
getStaticType in class ScriptableNodepublic java.lang.String getClassName()
SlingWrapper
getClassName in interface SlingWrappergetClassName in interface org.mozilla.javascript.ScriptablegetClassName in class ScriptableNodepublic java.lang.Class<?>[] getWrappedClasses()
SlingWrapper
getWrappedClasses in interface SlingWrappergetWrappedClasses in class ScriptableNodeprotected java.lang.Object getWrappedObject()
getWrappedObject in class ScriptableNodepublic java.lang.Class<?> jsGet_javascriptWrapperClass()
ScriptableBase
jsGet_javascriptWrapperClass in class ScriptableNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||