Class IncludeRuntimeExtension

java.lang.Object
org.apache.sling.scripting.sightly.impl.engine.extension.IncludeRuntimeExtension
All Implemented Interfaces:
RuntimeExtension

public class IncludeRuntimeExtension extends Object implements RuntimeExtension
Runtime support for including resources in a HTL script through data-sly-include.
  • Constructor Details

    • IncludeRuntimeExtension

      public IncludeRuntimeExtension()
  • Method Details

    • call

      public Object call(RenderContext renderContext, Object... arguments)
      Description copied from interface: RuntimeExtension
      Call the RuntimeExtension
      Specified by:
      call in interface RuntimeExtension
      Parameters:
      renderContext - the runtime context
      arguments - the call arguments
      Returns:
      an extension instance