Class ElementPlugin
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
-
- org.apache.sling.scripting.sightly.impl.plugin.ElementPlugin
-
- All Implemented Interfaces:
Comparable<Plugin>
,Plugin
public class ElementPlugin extends AbstractPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static Set<ExpressionNode>
VOID_ELEMENTS
-
Fields inherited from class org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
name, priority
-
-
Constructor Summary
Constructors Constructor Description ElementPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginInvoke
invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
Given the plugin invocation provide an invoke object which will influence the rendering command stream-
Methods inherited from class org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
compareTo, decodeVariableName, name, priority
-
-
-
-
Field Detail
-
VOID_ELEMENTS
public static final Set<ExpressionNode> VOID_ELEMENTS
-
-
Method Detail
-
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 invocationcallInfo
- the parameters given to the plugincompilerContext
- a compiler context providing utility methods to plugins- Returns:
- an invocation
- See Also:
PluginInvoke
-
-