public class ScriptableNode extends ScriptableBase implements SlingWrapper
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSNAME |
static Class<?>[] |
WRAPPED_CLASSES |
JSFUNC_PREFIX| Constructor and Description |
|---|
ScriptableNode() |
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, 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, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASSNAME
public static final Class<?>[] WRAPPED_CLASSES
public void jsConstructor(Object res)
public String getClassName()
SlingWrappergetClassName in interface SlingWrappergetClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic Class<?>[] getWrappedClasses()
SlingWrappergetWrappedClasses in interface SlingWrapperprotected Class<?> getStaticType()
getStaticType in class ScriptableBaseprotected Object getWrappedObject()
getWrappedObject in class ScriptableBasepublic Object jsFunction_addNode(String path, String primaryType) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Object jsFunction_getNode(String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Object jsFunction_getChildren()
public Object jsFunction_getProperties()
public Object jsFunction_getPrimaryItem()
public Object jsFunction_getProperty(String name) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic String jsFunction_getUUID()
public int jsFunction_getIndex()
public Iterator<?> jsFunction_getReferences()
public Object jsFunction_getPrimaryNodeType()
public javax.jcr.nodetype.NodeType[] jsFunction_getMixinNodeTypes()
public Object jsFunction_getDefinition()
public boolean jsFunction_getCheckedOut()
public Object jsFunction_getVersionHistory()
public Object jsFunction_getBaseVersion()
public Object jsFunction_getLock()
public boolean jsFunction_getLocked()
public Object jsFunction_getSession()
public String jsFunction_getPath()
public String jsFunction_getName()
public Object jsFunction_getParent()
public int jsFunction_getDepth()
public boolean jsFunction_getNew()
public boolean jsFunction_getModified()
public void jsFunction_remove()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic boolean jsFunction_hasNode(String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Object get(String name, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.Scriptableget in class org.mozilla.javascript.ScriptableObjectpublic Object[] getIds()
getIds in interface org.mozilla.javascript.ScriptablegetIds in class org.mozilla.javascript.ScriptableObjectpublic Object getDefaultValue(Class typeHint)
getDefaultValue in interface org.mozilla.javascript.ScriptablegetDefaultValue in class org.mozilla.javascript.ScriptableObjectpublic boolean has(String name, org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.Scriptablehas in class org.mozilla.javascript.ScriptableObjectpublic Object unwrap()
unwrap in interface org.mozilla.javascript.WrapperCopyright © 2014 The Apache Software Foundation. All rights reserved.