Class ElementContext
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.compiler.frontend.ElementContext
-
public class ElementContext extends Object
Data structure used byMarkupHandler
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ElementContext.Attribute
-
Constructor Summary
Constructors Constructor Description ElementContext(String tagName, String openTagStartMarkup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(String name, String value, char quoteChar)
void
addPlugin(PluginInvoke invoke, int priority)
void
addPluginCall(String name, PluginCallInfo info, Expression expression)
Iterable<ElementContext.Attribute>
getAttributes()
String
getOpenTagStartMarkup()
String
getTagName()
PluginInvoke
pluginInvoke()
-
-
-
Method Detail
-
getTagName
public String getTagName()
-
getOpenTagStartMarkup
public String getOpenTagStartMarkup()
-
addPlugin
public void addPlugin(PluginInvoke invoke, int priority)
-
addPluginCall
public void addPluginCall(String name, PluginCallInfo info, Expression expression)
-
getAttributes
public Iterable<ElementContext.Attribute> getAttributes()
-
pluginInvoke
public PluginInvoke pluginInvoke()
-
-