Class ResourcePlugin

java.lang.Object
org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
org.apache.sling.scripting.sightly.impl.plugin.ResourcePlugin
All Implemented Interfaces:
Comparable<Plugin>, Plugin

public class ResourcePlugin extends AbstractPlugin
The resource plugin.
  • Constructor Details

    • ResourcePlugin

      public ResourcePlugin()
  • Method Details

    • invoke

      public PluginInvoke invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
      Description copied from interface: Plugin
      Given the plugin invocation provide an invoke object which will influence the rendering command stream
      Parameters:
      expression - the expression used at plugin invocation
      callInfo - the parameters given to the plugin
      compilerContext - a compiler context providing utility methods to plugins
      Returns:
      an invocation
      See Also: