- ScriptableBase - Class in org.apache.sling.scripting.javascript.wrapper
-
Base class for Scriptable objects, uses the NativeJavaObject wrapper to provide
default wrapping of methods and properties (SLING-397)
- ScriptableBase() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
-
- ScriptableCalendar - Class in org.apache.sling.scripting.javascript.wrapper
-
- ScriptableCalendar() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
-
- ScriptableItemMap - Class in org.apache.sling.scripting.javascript.wrapper
-
- ScriptableItemMap() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
-
- ScriptableMap - Class in org.apache.sling.scripting.javascript.wrapper
-
The
ScriptableMap
wrapper provides easier access to a map's values by setting the map's keys as properties to the JavaScript
object representing the
Map
.
- ScriptableMap() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableMap
-
- ScriptableNode - Class in org.apache.sling.scripting.javascript.wrapper
-
A wrapper for JCR nodes that exposes all properties and child nodes as
properties of a Javascript object.
- ScriptableNode() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
-
- ScriptablePrintWriter - Class in org.apache.sling.scripting.javascript.wrapper
-
- ScriptablePrintWriter() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
-
- ScriptablePrintWriter(PrintWriter) - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
-
- ScriptableProperty - Class in org.apache.sling.scripting.javascript.wrapper
-
Wrap a JCR Property as a Scriptable
- ScriptableProperty() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
-
- ScriptableResource - Class in org.apache.sling.scripting.javascript.wrapper
-
Resource in JavaScript has following signature:
[String] getName()
[String] name
[Object] getResourceMetadata()
[Object] resourceMetadata
[String] getPath()
[String] path
[String] getResourceType()
[String] resourceType
[String] getResourceSuperType()
[String] resourceSuperType
[Resource] getParent()
[Resource] parent
[ResourceResolver] getResourceResolver()
[ResourceResolver] resourceResolver
[Resource] getChild(String)
[Resource[]] getChildren()
[Resource[]] listChildren()
[Boolean] isResourceType(String)
[Object] properties
- ScriptableResource() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
-
- ScriptableResource(Resource) - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
-
- ScriptableVersion - Class in org.apache.sling.scripting.javascript.wrapper
-
Scriptable wrapper for the JCR Version class
- ScriptableVersion() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
-
- ScriptableVersionHistory - Class in org.apache.sling.scripting.javascript.wrapper
-
Scriptable wrapper for the JCR VersionHistory class
- ScriptableVersionHistory() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
-
- setDebugging(boolean) - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
-
- setOutInitStatement(String) - Method in class org.apache.sling.scripting.javascript.io.EspReader
-
Set the code fragment used to initialize the "out" variable
- setResource(Resource) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
-
- setup(ScopeProvider, int) - Static method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
-
- skip(long) - Method in class org.apache.sling.scripting.javascript.io.EspReader
-
Skip the number of filtered characters.
- SlingContext - Class in org.apache.sling.scripting.javascript.helper
-
- SlingContext() - Constructor for class org.apache.sling.scripting.javascript.helper.SlingContext
-
- SlingContextFactory - Class in org.apache.sling.scripting.javascript.helper
-
The SlingContextFactory
extends the standard Rhino
ContextFactory to provide customized settings, such as having the dynamic
scope feature enabled by default.
- SlingGlobal - Class in org.apache.sling.scripting.javascript.helper
-
The SlingGlobal
class provides two interesting new global
functions which are not part of the ECMAScript standard but which are
available in the Rhino Shell and which may be of use by JavaScripts:
print(args, ...)
Prints the arguments args
in a single message to the scripts
logger available as the global log variable.
load(args, ...)
Loads the scripts named as parameters into the current scope one, after
the other.
- SlingGlobal() - Constructor for class org.apache.sling.scripting.javascript.helper.SlingGlobal
-
- SlingWrapFactory - Class in org.apache.sling.scripting.javascript.helper
-
- SlingWrapFactory() - Constructor for class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
-
- SlingWrapper - Interface in org.apache.sling.scripting.javascript
-
Wrapper with an additional methods to indicate the wrapped classes