Class 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.
    • Method Detail

      • getObjectModel

        public org.apache.sling.scripting.sightly.render.RuntimeObjectModel getObjectModel()
        Specified by:
        getObjectModel in interface org.apache.sling.scripting.sightly.render.RenderContext
      • getBindings

        public Bindings getBindings()
        Provide the bindings for this script
        Specified by:
        getBindings in interface org.apache.sling.scripting.sightly.render.RenderContext
        Returns:
        - the list of global bindings available to the script
      • call

        public Object call​(String functionName,
                           Object... arguments)
        Specified by:
        call in interface org.apache.sling.scripting.sightly.render.RenderContext