A B C D E F G H I J K L M O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBindings(Bindings) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider
- asMap() - Method in class com.composum.platform.htl.impl.EmulatedPageContext
-
Returns the emulated page context as a map.
- AttributeHelper - Class in com.composum.platform.htl
-
Allows setting and reading request-/session-attributes, script bindings or a simulated pageContext (
EmulatedPageContext
). - AttributeHelper() - Constructor for class com.composum.platform.htl.AttributeHelper
- AttributeHelper.Scope - Enum in com.composum.platform.htl
- AttributesUseProvider - Class in com.composum.platform.htl.impl
-
Allows reading request- or session-attributes or the
EmulatedPageContext
with a data-sly-use statement such that the IDE knows the specific class and can provide code completion etc. - AttributesUseProvider() - Constructor for class com.composum.platform.htl.impl.AttributesUseProvider
- AttributesUseProvider.Scope - Enum in com.composum.platform.htl.impl
B
- BINDINGATTR_TAGSTACK - Static variable in class com.composum.platform.htl.impl.TagHtlAdapter
- bindings - Variable in class com.composum.platform.htl.AttributeHelper
- bindings - Variable in class com.composum.platform.htl.impl.HtlPageContext
- bindings - Variable in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- bindings - Variable in class com.composum.platform.htl.impl.TagHtlAdapter
- BINDINGS - com.composum.platform.htl.AttributeHelper.Scope
- BINDINGS - com.composum.platform.htl.impl.AttributesUseProvider.Scope
-
From the script bindings.
- BindingsHelper - Class in com.composum.platform.htl.tools
-
Development-tool to list out all bindings in the current context.
- BindingsHelper() - Constructor for class com.composum.platform.htl.tools.BindingsHelper
- BindingsWrapper(Bindings) - Constructor for class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
C
- checkType(Object, String, String) - Method in class com.composum.platform.htl.impl.AttributesUseProvider
- clear() - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- com.composum.platform.htl - package com.composum.platform.htl
- com.composum.platform.htl.impl - package com.composum.platform.htl.impl
- com.composum.platform.htl.tools - package com.composum.platform.htl.tools
- ComposumModelsUseProvider - Class in com.composum.platform.htl.impl
-
HTL
UseProvider
which will instantiate a referenced Sling Model from aBeanContext
. - ComposumModelsUseProvider() - Constructor for class com.composum.platform.htl.impl.ComposumModelsUseProvider
- compute(String, BiFunction<? super String, ? super Object, ?>) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- computeIfAbsent(String, Function<? super String, ?>) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- computeIfPresent(String, BiFunction<? super String, ? super Object, ?>) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- containsKey(Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- containsValue(Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
D
- doEnd() - Method in class com.composum.platform.htl.impl.TagHtlAdapter
-
Triggers the processing of both the start and end of the tag.
- doStart() - Method in class com.composum.platform.htl.impl.TagHtlAdapter
-
Triggers the processing of both the start and end of the tag.
- doStartAndEnd() - Method in class com.composum.platform.htl.impl.TagHtlAdapter
-
Triggers the processing of both the start and end of the tag - for tags without body.
E
- emulatedPageContext - Variable in class com.composum.platform.htl.impl.HtlPageContext
- EmulatedPageContext - Class in com.composum.platform.htl.impl
-
Implements a kind of pagecontext for HTL by putting a map into a request attribute, to enable communication between templates.
- EmulatedPageContext() - Constructor for class com.composum.platform.htl.impl.EmulatedPageContext
- entrySet() - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- equals(Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- ExtendedJavaUseProvider - Class in com.composum.platform.htl.impl
-
A HTL
UseProvider
similar to theJavaUseProvider
that allows accessing theRenderContext
, too - the constructed Java object has to implementUseWithRenderContext
withUseWithRenderContext.init(RenderContext, Bindings)
. - ExtendedJavaUseProvider() - Constructor for class com.composum.platform.htl.impl.ExtendedJavaUseProvider
F
- findAttribute(String) - Method in class com.composum.platform.htl.impl.HtlPageContext
- forEach(BiConsumer<? super String, ? super Object>) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- forward(String) - Method in class com.composum.platform.htl.impl.HtlPageContext
G
- get(Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- getAttribute(String) - Method in class com.composum.platform.htl.impl.HtlPageContext
- getAttribute(String, int) - Method in class com.composum.platform.htl.impl.HtlPageContext
- getAttribute(RenderContext, AttributesUseProvider.Scope, String, Object) - Method in class com.composum.platform.htl.impl.AttributesUseProvider
- getAttributeNamesInScope(int) - Method in class com.composum.platform.htl.impl.HtlPageContext
- getAttributesScope(String) - Method in class com.composum.platform.htl.impl.HtlPageContext
- getBindings() - Method in class com.composum.platform.htl.AttributeHelper
-
Provides a HTL readable view of the Bindings.
- getBindings() - Method in class com.composum.platform.htl.tools.BindingsHelper
- getELContext() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getException() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getExpressionEvaluator() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getInfo() - Method in class com.composum.platform.htl.tools.BindingsHelper
- getInfo() - Method in class com.composum.platform.htl.tools.ObjectInfo
- getKeys() - Method in class com.composum.platform.htl.tools.BindingsHelper
- getOrDefault(Object, Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- getOut() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getPage() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getPageContext() - Method in class com.composum.platform.htl.AttributeHelper
-
The
EmulatedPageContext
for the script. - getProperty(String) - Method in class com.composum.platform.htl.impl.EmulatedPageContext
- getPropertyNames() - Method in class com.composum.platform.htl.impl.EmulatedPageContext
- getRequest() - Method in class com.composum.platform.htl.AttributeHelper
- getRequest() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getRequest(RenderContext) - Method in class com.composum.platform.htl.impl.AttributesUseProvider
- getRequestAttributes() - Method in class com.composum.platform.htl.AttributeHelper
-
Provides a HTL readable view of the request attributes.
- getRequestParameters() - Method in class com.composum.platform.htl.AttributeHelper
-
The map of request parameters.
- getResponse() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getScriptName(Bindings) - Static method in class com.composum.platform.htl.impl.EmulatedPageContext
- getServletConfig() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getServletContext() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getSession() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getSessionAttributes() - Method in class com.composum.platform.htl.AttributeHelper
-
Provides a HTL readable view of the session Attributes.
- getSlingScript() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getSlingScriptHelper() - Method in class com.composum.platform.htl.impl.HtlPageContext
- getVariableResolver() - Method in class com.composum.platform.htl.impl.HtlPageContext
H
- handlePageException(Exception) - Method in class com.composum.platform.htl.impl.HtlPageContext
- handlePageException(Throwable) - Method in class com.composum.platform.htl.impl.HtlPageContext
- hashCode() - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
-
This is the workaround for https://issues.apache.org/jira/browse/SLING-9312 : the hashcode of the actual binding values is calculated if we don't break this here.
- HtlPageContext - Class in com.composum.platform.htl.impl
-
Mocks a
PageContext
from theBindings
of HTL. - HtlPageContext(Bindings) - Constructor for class com.composum.platform.htl.impl.HtlPageContext
-
Instantiates a new HTLPageContext.
I
- include(String) - Method in class com.composum.platform.htl.impl.HtlPageContext
- include(String, boolean) - Method in class com.composum.platform.htl.impl.HtlPageContext
- init(Bindings) - Method in class com.composum.platform.htl.impl.EmulatedPageContext
-
Initializes the maps.
- init(Bindings) - Method in class com.composum.platform.htl.impl.TagHtlAdapter
- init(Bindings) - Method in class com.composum.platform.htl.MapCreator
- init(Bindings) - Method in class com.composum.platform.htl.tools.BindingsHelper
- init(Bindings) - Method in class com.composum.platform.htl.tools.ObjectInfo
- init(RenderContext, Bindings) - Method in class com.composum.platform.htl.AttributeHelper
- init(RenderContext, Bindings) - Method in interface com.composum.platform.htl.UseWithRenderContext
-
Called to initialize the Java object with the current Java Scripting API arguments.
- initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class com.composum.platform.htl.impl.HtlPageContext
-
Not used, since not instantiated by the container.
- initProperties(Tag) - Method in class com.composum.platform.htl.impl.TagHtlAdapter
- isEmpty() - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- isIgnoredProperty(String) - Method in class com.composum.platform.htl.impl.TagHtlAdapter
-
Whether name is a name of a property that should not be set from tag parameters since it is a special method from
BodyTag
or something.
J
- jspLog - Variable in class com.composum.platform.htl.impl.TagHtlAdapter
- jspWriter - Variable in class com.composum.platform.htl.impl.HtlPageContext
K
- KEYPATTERN - Static variable in class com.composum.platform.htl.AttributeHelper
- KEYPATTERN - Static variable in class com.composum.platform.htl.MapCreator
- keySet() - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
L
- LOG - Static variable in class com.composum.platform.htl.impl.TagHtlAdapter
M
- makePageContext(Tag) - Method in class com.composum.platform.htl.impl.TagHtlAdapter
- map(Bindings) - Static method in class com.composum.platform.htl.impl.EmulatedPageContext
-
Allows easy access to the map when used in Java Code: returns the actual map used.
- MapCreator - Class in com.composum.platform.htl
-
HTL Helper that creates a map (this object itself), e.g.
- MapCreator() - Constructor for class com.composum.platform.htl.MapCreator
- merge(String, Object, BiFunction<? super Object, ? super Object, ?>) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
O
- ObjectInfo - Class in com.composum.platform.htl.tools
-
Utility to print out information about a HTL variable via Java Reflection.
- ObjectInfo() - Constructor for class com.composum.platform.htl.tools.ObjectInfo
- OUTER_BINDINGS - Static variable in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider
-
A binding that references the
Bindings
on the outermost level. - OuterBindingsBindingsValueProvider - Class in com.composum.platform.htl.impl
-
A
BindingsValuesProvider
that binds the outermost bindings themselves into a binding, such that global variables can be added / changed. - OuterBindingsBindingsValueProvider() - Constructor for class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider
- OuterBindingsBindingsValueProvider.BindingsWrapper - Class in com.composum.platform.htl.impl
-
Avoids a bug in sling.api:
P
- PAGE - com.composum.platform.htl.AttributeHelper.Scope
-
A page context simulated by
EmulatedPageContext
. - PAGE - com.composum.platform.htl.impl.AttributesUseProvider.Scope
-
A page context simulated by
EmulatedPageContext
. - PARAM_KEY - Static variable in class com.composum.platform.htl.impl.AttributesUseProvider
-
If the identifier is a class name, this is the name of the attribute name to read from - otherwise the identifier is taken.
- PARAM_SCOPE - Static variable in class com.composum.platform.htl.AttributeHelper
-
Parameter that determines the scope: lower case string representation of
AttributeHelper.Scope
. - PARAM_SCOPE - Static variable in class com.composum.platform.htl.impl.AttributesUseProvider
-
Mandatory parameter that determines the scope to read from: lower case string representation of
AttributesUseProvider.Scope
. - PARAM_VALUE - Static variable in class com.composum.platform.htl.impl.AttributesUseProvider
-
Explicitly given value; mandatory for scope Scope
AttributesUseProvider.Scope.VALUE
. - provide(String, RenderContext, Bindings) - Method in class com.composum.platform.htl.impl.AttributesUseProvider
- provide(String, RenderContext, Bindings) - Method in class com.composum.platform.htl.impl.ComposumModelsUseProvider
- provide(String, RenderContext, Bindings) - Method in class com.composum.platform.htl.impl.ExtendedJavaUseProvider
- put(String, Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- putAll(Map<? extends String, ?>) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- putIfAbsent(String, Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
R
- release() - Method in class com.composum.platform.htl.impl.HtlPageContext
- remove(Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- remove(Object, Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- removeAttribute(String) - Method in class com.composum.platform.htl.impl.HtlPageContext
- removeAttribute(String, int) - Method in class com.composum.platform.htl.impl.HtlPageContext
- replace(String, Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- replace(String, Object, Object) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- replaceAll(BiFunction<? super String, ? super Object, ?>) - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
- REQUEST - com.composum.platform.htl.AttributeHelper.Scope
- REQUEST - com.composum.platform.htl.impl.AttributesUseProvider.Scope
- REQUESTATTR_PAGECONTEXTMAP - Static variable in class com.composum.platform.htl.impl.EmulatedPageContext
-
Map<String,Map<String,Object>> from scriptname to simulated pagecontext map, since the scriptname is the script resource and the bindings are generated freshly each call.
S
- SESSION - com.composum.platform.htl.AttributeHelper.Scope
- SESSION - com.composum.platform.htl.impl.AttributesUseProvider.Scope
- setAttribute(AttributeHelper.Scope, Object, Object) - Method in class com.composum.platform.htl.AttributeHelper
- setAttribute(String, Object) - Method in class com.composum.platform.htl.impl.HtlPageContext
- setAttribute(String, Object, int) - Method in class com.composum.platform.htl.impl.HtlPageContext
- simulatedPageContext - Variable in class com.composum.platform.htl.impl.EmulatedPageContext
- size() - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
T
- tagClass - Variable in class com.composum.platform.htl.impl.TagHtlAdapter
- TAGCLASS - Static variable in class com.composum.platform.htl.impl.TagHtlAdapter
-
String parameter "adapterTagClass" that specifies the class name of the tag.
- TagHtlAdapter - Class in com.composum.platform.htl.impl
-
Crude wrapper for JSP tags to use these in HTL scripts.
- TagHtlAdapter() - Constructor for class com.composum.platform.htl.impl.TagHtlAdapter
- tagStack - Variable in class com.composum.platform.htl.impl.TagHtlAdapter
- toString() - Method in class com.composum.platform.htl.tools.BindingsHelper
- toString() - Method in class com.composum.platform.htl.tools.ObjectInfo
U
- UseWithRenderContext - Interface in com.composum.platform.htl
-
Allows initialization of Java objects when created by HTL with
ExtendedJavaUseProvider
.
V
- VALUE - com.composum.platform.htl.impl.AttributesUseProvider.Scope
-
Explicit value given with parameter "value" - this corresponds to a typecast.
- valueOf(String) - Static method in enum com.composum.platform.htl.AttributeHelper.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.composum.platform.htl.impl.AttributesUseProvider.Scope
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.composum.platform.htl.AttributeHelper.Scope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.composum.platform.htl.impl.AttributesUseProvider.Scope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider.BindingsWrapper
All Classes All Packages