All Classes
-
All Classes Interface Summary Class Summary Class Description EspReader TheEspReader
is aFilterReader
which takes JSP like input and produces plain ECMA script output.ExportsObject ModuleObject ModuleScope RhinoHostObjectProvider TheRhinoHostObjectProvider
defines the service interface to inject additional ECMAScript host objects as well as to make classes and packages known.RhinoJavaScriptEngine A ScriptEngine that uses the Rhino interpreter to process Sling requests with server-side javascript.RhinoJavaScriptEngineFactory ScriptableBase Base class for Scriptable objects, uses the NativeJavaObject wrapper to provide default wrapping of methods and properties (SLING-397)ScriptableCalendar ScriptableItemMap ScriptableMap TheScriptableMap
wrapper provides easier access to a map's values by setting the map's keys as properties to the JavaScript object representing theMap
.ScriptableNode A wrapper for JCR nodes that exposes all properties and child nodes as properties of a Javascript object.ScriptablePrintWriter ScriptableProperty Wrap a JCR Property as a ScriptableScriptableResource 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] propertiesScriptableVersion Scriptable wrapper for the JCR Version classScriptableVersionHistory Scriptable wrapper for the JCR VersionHistory classSlingContext TheSlingContext
extends Context to overwrite theSlingContext.initStandardObjects(ScriptableObject, boolean)
method to add more standard objects.SlingContextFactory TheSlingContextFactory
extends the standard Rhino ContextFactory to provide customized settings, such as having the dynamic scope feature enabled by default.SlingGlobal TheSlingGlobal
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 argumentsargs
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.SlingWrapFactory SlingWrapper Wrapper with an additional methods to indicate the wrapped classes