Class DefaultPluginInvoke
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.plugin.DefaultPluginInvoke
-
- All Implemented Interfaces:
PluginInvoke
public class DefaultPluginInvoke extends Object implements PluginInvoke
Empty implementation for plugin invocation. Use this to implement methods selectively.- See Also:
Plugin
-
-
Constructor Summary
Constructors Constructor Description DefaultPluginInvoke()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterAttribute(PushStream stream, String attributeName)
void
afterAttributes(PushStream stream)
void
afterAttributeValue(PushStream stream, String attributeName)
void
afterChildren(PushStream stream)
void
afterElement(PushStream stream)
void
afterTagClose(PushStream stream, boolean isSelfClosing)
void
afterTagOpen(PushStream stream)
void
beforeAttribute(PushStream stream, String attributeName)
void
beforeAttributes(PushStream stream)
void
beforeAttributeValue(PushStream stream, String attributeName, ExpressionNode attributeValue)
void
beforeChildren(PushStream stream)
void
beforeElement(PushStream stream, String tagName)
void
beforeTagClose(PushStream stream, boolean isSelfClosing)
void
beforeTagOpen(PushStream stream)
void
onPluginCall(PushStream stream, PluginCallInfo callInfo, Expression expression)
-
-
-
Method Detail
-
beforeElement
public void beforeElement(PushStream stream, String tagName)
- Specified by:
beforeElement
in interfacePluginInvoke
-
beforeTagOpen
public void beforeTagOpen(PushStream stream)
- Specified by:
beforeTagOpen
in interfacePluginInvoke
-
beforeAttributes
public void beforeAttributes(PushStream stream)
- Specified by:
beforeAttributes
in interfacePluginInvoke
-
beforeAttribute
public void beforeAttribute(PushStream stream, String attributeName)
- Specified by:
beforeAttribute
in interfacePluginInvoke
-
beforeAttributeValue
public void beforeAttributeValue(PushStream stream, String attributeName, ExpressionNode attributeValue)
- Specified by:
beforeAttributeValue
in interfacePluginInvoke
-
afterAttributeValue
public void afterAttributeValue(PushStream stream, String attributeName)
- Specified by:
afterAttributeValue
in interfacePluginInvoke
-
afterAttribute
public void afterAttribute(PushStream stream, String attributeName)
- Specified by:
afterAttribute
in interfacePluginInvoke
-
onPluginCall
public void onPluginCall(PushStream stream, PluginCallInfo callInfo, Expression expression)
- Specified by:
onPluginCall
in interfacePluginInvoke
-
afterAttributes
public void afterAttributes(PushStream stream)
- Specified by:
afterAttributes
in interfacePluginInvoke
-
afterTagOpen
public void afterTagOpen(PushStream stream)
- Specified by:
afterTagOpen
in interfacePluginInvoke
-
beforeChildren
public void beforeChildren(PushStream stream)
- Specified by:
beforeChildren
in interfacePluginInvoke
-
afterChildren
public void afterChildren(PushStream stream)
- Specified by:
afterChildren
in interfacePluginInvoke
-
beforeTagClose
public void beforeTagClose(PushStream stream, boolean isSelfClosing)
- Specified by:
beforeTagClose
in interfacePluginInvoke
-
afterTagClose
public void afterTagClose(PushStream stream, boolean isSelfClosing)
- Specified by:
afterTagClose
in interfacePluginInvoke
-
afterElement
public void afterElement(PushStream stream)
- Specified by:
afterElement
in interfacePluginInvoke
-
-