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 voidafterAttribute(PushStream stream, String attributeName)voidafterAttributes(PushStream stream)voidafterAttributeValue(PushStream stream, String attributeName)voidafterChildren(PushStream stream)voidafterElement(PushStream stream)voidafterTagClose(PushStream stream, boolean isSelfClosing)voidafterTagOpen(PushStream stream)voidbeforeAttribute(PushStream stream, String attributeName)voidbeforeAttributes(PushStream stream)voidbeforeAttributeValue(PushStream stream, String attributeName, ExpressionNode attributeValue)voidbeforeChildren(PushStream stream)voidbeforeElement(PushStream stream, String tagName)voidbeforeTagClose(PushStream stream, boolean isSelfClosing)voidbeforeTagOpen(PushStream stream)voidonPluginCall(PushStream stream, PluginCallInfo callInfo, Expression expression)
-
-
-
Method Detail
-
beforeElement
public void beforeElement(PushStream stream, String tagName)
- Specified by:
beforeElementin interfacePluginInvoke
-
beforeTagOpen
public void beforeTagOpen(PushStream stream)
- Specified by:
beforeTagOpenin interfacePluginInvoke
-
beforeAttributes
public void beforeAttributes(PushStream stream)
- Specified by:
beforeAttributesin interfacePluginInvoke
-
beforeAttribute
public void beforeAttribute(PushStream stream, String attributeName)
- Specified by:
beforeAttributein interfacePluginInvoke
-
beforeAttributeValue
public void beforeAttributeValue(PushStream stream, String attributeName, ExpressionNode attributeValue)
- Specified by:
beforeAttributeValuein interfacePluginInvoke
-
afterAttributeValue
public void afterAttributeValue(PushStream stream, String attributeName)
- Specified by:
afterAttributeValuein interfacePluginInvoke
-
afterAttribute
public void afterAttribute(PushStream stream, String attributeName)
- Specified by:
afterAttributein interfacePluginInvoke
-
onPluginCall
public void onPluginCall(PushStream stream, PluginCallInfo callInfo, Expression expression)
- Specified by:
onPluginCallin interfacePluginInvoke
-
afterAttributes
public void afterAttributes(PushStream stream)
- Specified by:
afterAttributesin interfacePluginInvoke
-
afterTagOpen
public void afterTagOpen(PushStream stream)
- Specified by:
afterTagOpenin interfacePluginInvoke
-
beforeChildren
public void beforeChildren(PushStream stream)
- Specified by:
beforeChildrenin interfacePluginInvoke
-
afterChildren
public void afterChildren(PushStream stream)
- Specified by:
afterChildrenin interfacePluginInvoke
-
beforeTagClose
public void beforeTagClose(PushStream stream, boolean isSelfClosing)
- Specified by:
beforeTagClosein interfacePluginInvoke
-
afterTagClose
public void afterTagClose(PushStream stream, boolean isSelfClosing)
- Specified by:
afterTagClosein interfacePluginInvoke
-
afterElement
public void afterElement(PushStream stream)
- Specified by:
afterElementin interfacePluginInvoke
-
-