public class ScriptableVersion extends ScriptableNode
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME |
JSFUNC_PREFIX
Constructor and Description |
---|
ScriptableVersion() |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
The name of the JavaScript host object "class".
|
protected Class<?> |
getStaticType() |
Class<?>[] |
getWrappedClasses()
The list of Java classes wrapped by this wrapper.
|
protected Object |
getWrappedObject() |
void |
jsConstructor(Object res) |
get, getDefaultValue, getIds, has, jsFunction_addNode, jsFunction_getBaseVersion, jsFunction_getCheckedOut, jsFunction_getChildren, jsFunction_getDefinition, jsFunction_getDepth, jsFunction_getIndex, jsFunction_getLock, jsFunction_getLocked, jsFunction_getMixinNodeTypes, jsFunction_getModified, jsFunction_getName, jsFunction_getNew, jsFunction_getNode, jsFunction_getNodes, jsFunction_getParent, jsFunction_getPath, jsFunction_getPrimaryItem, jsFunction_getPrimaryNodeType, jsFunction_getProperties, jsFunction_getProperty, jsFunction_getReferences, jsFunction_getSession, jsFunction_getUUID, jsFunction_getVersionHistory, jsFunction_hasNode, jsFunction_remove, toString, 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, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, 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)
jsConstructor
in class ScriptableNode
protected Class<?> getStaticType()
getStaticType
in class ScriptableNode
public String getClassName()
SlingWrapper
getClassName
in interface SlingWrapper
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class ScriptableNode
public Class<?>[] getWrappedClasses()
SlingWrapper
getWrappedClasses
in interface SlingWrapper
getWrappedClasses
in class ScriptableNode
protected Object getWrappedObject()
getWrappedObject
in class ScriptableNode
Copyright © 2017 The Apache Software Foundation. All rights reserved.