org.xwiki.rendering.listener.descriptor
Class ListenerElement
java.lang.Object
org.xwiki.rendering.listener.descriptor.ListenerElement
public class ListenerElement
- extends Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListenerElement
public ListenerElement(String name)
- Parameters:
name
- the name of the element
getName
public String getName()
- Returns:
- the name of the element
getParameters
public List<Type> getParameters()
- Returns:
- the parameters of the element
getBeginMethod
public Method getBeginMethod()
- Returns:
- the begin method, null if it's a
on
event based element
setBeginMethod
public void setBeginMethod(Method beginMethod)
- Parameters:
beginMethod
- the begin method, null if it's a on
event based element
getEndMethod
public Method getEndMethod()
- Returns:
- the end method, null if it's a
on
event based element
setEndMethod
public void setEndMethod(Method endMethod)
- Parameters:
endMethod
- the end method, null if it's a on
event based element
getOnMethod
public Method getOnMethod()
- Returns:
- the on method, null if it's a
begin/end
event based element
setOnMethod
public void setOnMethod(Method onMethod)
- Parameters:
onMethod
- the on method, null if it's a begin/end
event based element