Package com.composum.platform.htl.impl
Class OuterBindingsBindingsValueProvider
- java.lang.Object
-
- com.composum.platform.htl.impl.OuterBindingsBindingsValueProvider
-
- All Implemented Interfaces:
org.apache.sling.scripting.api.BindingsValuesProvider
public class OuterBindingsBindingsValueProvider extends Object implements org.apache.sling.scripting.api.BindingsValuesProvider
ABindingsValuesProvider
that binds the outermost bindings themselves into a binding, such that global variables can be added / changed.- Since:
- 09/2017
- Author:
- Hans-Peter Stoerr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
OuterBindingsBindingsValueProvider.BindingsWrapper
Avoids a bug in sling.api:
-
Field Summary
Fields Modifier and Type Field Description static String
OUTER_BINDINGS
A binding that references theBindings
on the outermost level.
-
Constructor Summary
Constructors Constructor Description OuterBindingsBindingsValueProvider()
-
-
-
Field Detail
-
OUTER_BINDINGS
public static final String OUTER_BINDINGS
A binding that references theBindings
on the outermost level.- See Also:
- Constant Field Values
-
-
Method Detail
-
addBindings
public void addBindings(Bindings bindings)
- Specified by:
addBindings
in interfaceorg.apache.sling.scripting.api.BindingsValuesProvider
-
-