Class RenderContextImpl
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl
-
- All Implemented Interfaces:
org.apache.sling.scripting.sightly.render.RenderContext
public class RenderContextImpl extends Object implements org.apache.sling.scripting.sightly.render.RenderContext
Rendering context for HTL rendering units.
-
-
Constructor Summary
Constructors Constructor Description RenderContextImpl(SightlyEngineConfiguration configuration, ExtensionRegistryService extensionRegistryService, ScriptContext scriptContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
call(String functionName, Object... arguments)
Bindings
getBindings()
Provide the bindings for this scriptorg.apache.sling.scripting.sightly.render.RuntimeObjectModel
getObjectModel()
-
-
-
Constructor Detail
-
RenderContextImpl
public RenderContextImpl(SightlyEngineConfiguration configuration, ExtensionRegistryService extensionRegistryService, ScriptContext scriptContext)
-
-
Method Detail
-
getObjectModel
public org.apache.sling.scripting.sightly.render.RuntimeObjectModel getObjectModel()
- Specified by:
getObjectModel
in interfaceorg.apache.sling.scripting.sightly.render.RenderContext
-
getBindings
public Bindings getBindings()
Provide the bindings for this script- Specified by:
getBindings
in interfaceorg.apache.sling.scripting.sightly.render.RenderContext
- Returns:
- - the list of global bindings available to the script
-
-