Class ResourceRuntimeExtension

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

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

    • ResourceRuntimeExtension

      public ResourceRuntimeExtension()
  • 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