Class TextPlugin
java.lang.Object
org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
org.apache.sling.scripting.sightly.impl.plugin.TextPlugin
- All Implemented Interfaces:
Comparable<Plugin>
,Plugin
The
data-sly-text
plugin.-
Field Summary
Fields inherited from class org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
name, priority
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninvoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) Given the plugin invocation provide an invoke object which will influence the rendering command streamMethods inherited from class org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
compareTo, decodeVariableName, name, priority
-
Constructor Details
-
TextPlugin
public TextPlugin()
-
-
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 invocationcallInfo
- the parameters given to the plugincompilerContext
- a compiler context providing utility methods to plugins- Returns:
- an invocation
- See Also:
-