# Package org.apache.sling.scripting.javascript.wrapper

Class Summary
ScriptableBase: Base class for Scriptable objects, uses the NativeJavaObject wrapper to provide default wrapping of methods and properties (SLING-397)
ScriptableCalendar
ScriptableItemMap
ScriptableMap: 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`.
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 Scriptable

ScriptableResource

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

ScriptableVersion: Scriptable wrapper for the JCR Version class
ScriptableVersionHistory: Scriptable wrapper for the JCR VersionHistory class