Class ListenerElement
java.lang.Object
org.xwiki.rendering.listener.descriptor.ListenerElement
An element of the listener.
An element is defined by either an on event of a combination of begin and end
events.
- Since:
- 3.3M1
- Version:
- $Id: 5d4d0db57c11e9e541a54dbb6e8f2296d42bd881 $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetBeginMethod(Method beginMethod) voidsetEndMethod(Method endMethod) voidsetOnMethod(Method onMethod)
-
Constructor Details
-
ListenerElement
- Parameters:
name- the name of the element
-
-
Method Details
-
getName
- Returns:
- the name of the element
-
getParameters
- Returns:
- the parameters of the element
-
getBeginMethod
- Returns:
- the begin method, null if it's a
onevent based element
-
setBeginMethod
- Parameters:
beginMethod- the begin method, null if it's aonevent based element
-
getEndMethod
- Returns:
- the end method, null if it's a
onevent based element
-
setEndMethod
- Parameters:
endMethod- the end method, null if it's aonevent based element
-
getOnMethod
- Returns:
- the on method, null if it's a
begin/endevent based element
-
setOnMethod
- Parameters:
onMethod- the on method, null if it's abegin/endevent based element
-