B E F G H O P R T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BundledRenderUnit - Interface in org.apache.sling.scripting.spi.bundle
-
A
BundledRenderUnitrepresents a pre-packaged script or precompiled script (Java class) that will be executed in order to render aHttpServletRequest. - BundledRenderUnitCapability - Interface in org.apache.sling.scripting.spi.bundle
-
A
BundledRenderUnitCapabilityencapsulates the values of aProvided-Capability, based on whichBundledRenderUnits are generated. - BundledRenderUnitFinder - Interface in org.apache.sling.scripting.spi.bundle
-
The
BundledScriptFinderfinds theBundledRenderUnitcorresponding to a certain chain ofTypeProviders or corresponding to a certain path-basedBundledRenderUnitCapability.
E
- equals(Object) - Method in class org.apache.sling.api.resource.type.ResourceType
- eval(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
This method will execute / evaluate the wrapped script or precompiled script with the given request.
F
- findUnit(BundleContext, Set<TypeProvider>, Set<TypeProvider>) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder
-
Retrieves the best matching
BundledRenderUnitfor the providedinheritanceChain, by scanning allTypeProviderbundles for the class or script capable of providing a rendering for resource type chain. - findUnit(BundleContext, TypeProvider, Set<TypeProvider>) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder
-
Retrieves a path-based
BundledRenderUnitfrom the passedprovider.
G
- getBundle() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
Returns the
Bundlethe publishing bundle of this unit (not to be confused with the provider module, which is the module that instantiates aBundledRenderUnit). - getBundle() - Method in interface org.apache.sling.scripting.spi.bundle.TypeProvider
-
Returns the providing bundle.
- getBundleContext() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
Returns the
BundleContextto use for this unit. - getBundledRenderUnitCapability() - Method in interface org.apache.sling.scripting.spi.bundle.TypeProvider
-
Returns the
BundledRenderUnitCapability. - getExtendedResourceType() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the resource type extended by this capability.
- getExtension() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the extension to which a
BundledRenderUnitdescribed by this capability will be bound to. - getInputStream() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
This method will return an input stream if
thisunit is backed by a script that can be interpreted. - getMethod() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the request method to which a
BundledRenderUnitdescribed by this capability will be bound to. - getName() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
Returns the name of
this BundledRenderUnit. - getPath() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
Returns the path of this executable in the resource type hierarchy.
- getPath() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the path to which a
BundledRenderUnitdescribed by this capability will be bound to. - getResourceLabel() - Method in class org.apache.sling.api.resource.type.ResourceType
-
Returns a resource type's label.
- getResourceTypes() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the resource types to which a
BundledRenderUnitdescribed by this capability will be bound to. - getScriptEngineName() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the script engine short name which can be used to evaluate the
BundledRenderUnitdescribed by this capability. - getScriptExtension() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the original's script extension that was used to generate this capability.
- getSelectors() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
-
Returns the selectors to which a
BundledRenderUnitdescribed by this capability will be bound to. - getService(String) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
Retrieves an OSGi runtime dependency of the wrapped script identified by the passed
classNameparameter. - getServices(String, String) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
Retrieves multiple instances of an OSGi runtime dependency of the wrapped script identified by the passed
classNameparameter, filtered according to the passedfilter. - getType() - Method in class org.apache.sling.api.resource.type.ResourceType
-
Returns the resource type string, without any version information.
- getTypeProviders() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
Returns the
SetofTypeProviders which are related to this unit. - getUnit() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
In case this
BundledRenderUnitwraps a precompiled script, this method will return an instance of that object. - getVersion() - Method in class org.apache.sling.api.resource.type.ResourceType
-
Returns the version, if available.
H
- hashCode() - Method in class org.apache.sling.api.resource.type.ResourceType
O
- org.apache.sling.api.resource.type - package org.apache.sling.api.resource.type
- org.apache.sling.scripting.spi.bundle - package org.apache.sling.scripting.spi.bundle
P
- parseResourceType(String) - Static method in class org.apache.sling.api.resource.type.ResourceType
-
Given a
resourceTypeString, this method will extract aResourceTypeobject.
R
- ResourceType - Class in org.apache.sling.api.resource.type
-
The
ResourceTypeencapsulates details about a Sling resource type and provides methods for parsing resource type strings.
T
- toString() - Method in class org.apache.sling.api.resource.type.ResourceType
- TypeProvider - Interface in org.apache.sling.scripting.spi.bundle
-
A
TypeProviderkeeps an association between aBundledRenderUnitCapabilityand the bundle that provides it.
V
- VARIABLE - Static variable in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
-
The variable available in the
Bindingsassociated to aHttpServletRequestif that request is served by aBundledRenderUnit.
All Classes All Packages