org.apache.sling.scripting.sightly.render.RenderContext
provided to
org.apache.sling.scripting.sightly.use.UseProvider and
org.apache.sling.scripting.sightly.extension.RuntimeExtension
services.@Deprecated
public class RenderContext
extends java.lang.Object
RenderUnit| Constructor and Description |
|---|
RenderContext(RenderContext delegatee)
Deprecated.
|
RenderContext(StackedWriter writer,
javax.script.Bindings bindings,
ObjectModel objectModel,
SightlyRuntime runtime,
UnitLocator unitLocator)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
javax.script.Bindings |
getBindings()
Deprecated.
Provide the bindings for this script
|
ObjectModel |
getObjectModel()
Deprecated.
Get an instance of the objectModel object model
|
SightlyRuntime |
getRuntime()
Deprecated.
Get the available Sightly runtime
|
UnitLocator |
getUnitLocator()
Deprecated.
Get the unit locator
|
StackedWriter |
getWriter()
Deprecated.
Get the writer where the content should be written
|
RenderContext |
withAddedBindings(java.util.Map additionalBindings)
Deprecated.
as of bundle version 1.1.68 without replacement. This is an
internal method of the Sightly Implementation.
|
RenderContext |
withBindings(javax.script.Bindings newBindings)
Deprecated.
as of bundle version 1.1.68 without replacement. This is an
internal method of the Sightly Implementation.
|
public RenderContext(RenderContext delegatee)
@Deprecated public RenderContext(StackedWriter writer, javax.script.Bindings bindings, ObjectModel objectModel, SightlyRuntime runtime, UnitLocator unitLocator)
public StackedWriter getWriter()
public javax.script.Bindings getBindings()
public ObjectModel getObjectModel()
public SightlyRuntime getRuntime()
public UnitLocator getUnitLocator()
@Deprecated public RenderContext withBindings(javax.script.Bindings newBindings)
newBindings - - the new set of bindings@Deprecated public RenderContext withAddedBindings(java.util.Map additionalBindings)
additionalBindings - - a dictionary of variables"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"