All Classes and Interfaces
Class
Description
The
EspReader is a FilterReader which takes
JSP like input and produces plain ECMA script output.The
RhinoHostObjectProvider defines the service interface to
inject additional ECMAScript host objects as well as to make classes and
packages known.Base class for Scriptable objects, uses the NativeJavaObject wrapper to provide
default wrapping of methods and properties (SLING-397)
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.A wrapper for JCR nodes that exposes all properties and child nodes as
properties of a Javascript object.
Wrap a JCR Property as a Scriptable
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
Scriptable wrapper for the JCR Version class
Scriptable wrapper for the JCR VersionHistory class
The
SlingContext extends Context to overwrite the
SlingContext.initStandardObjects(ScriptableObject, boolean) method to add more
standard objects.The
SlingContextFactory extends the standard Rhino
ContextFactory to provide customized settings, such as having the dynamic
scope feature enabled by default.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.Wrapper with an additional methods to indicate the wrapped classes