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
onevent of a combination ofbeginandendevents.- Since:
- 3.3M1
- Version:
- $Id: 5d4d0db57c11e9e541a54dbb6e8f2296d42bd881 $
-
-
Constructor Summary
Constructors Constructor Description ListenerElement(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodgetBeginMethod()MethodgetEndMethod()StringgetName()MethodgetOnMethod()List<Type>getParameters()voidsetBeginMethod(Method beginMethod)voidsetEndMethod(Method endMethod)voidsetOnMethod(Method onMethod)
-
-
-
Constructor Detail
-
ListenerElement
public ListenerElement(String name)
- Parameters:
name- the name of the element
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of the element
-
getBeginMethod
public Method getBeginMethod()
- Returns:
- the begin method, null if it's a
onevent based element
-
setBeginMethod
public void setBeginMethod(Method beginMethod)
- Parameters:
beginMethod- the begin method, null if it's aonevent based element
-
getEndMethod
public Method getEndMethod()
- Returns:
- the end method, null if it's a
onevent based element
-
setEndMethod
public void setEndMethod(Method endMethod)
- Parameters:
endMethod- the end method, null if it's aonevent based element
-
getOnMethod
public Method getOnMethod()
- Returns:
- the on method, null if it's a
begin/endevent based element
-
setOnMethod
public void setOnMethod(Method onMethod)
- Parameters:
onMethod- the on method, null if it's abegin/endevent based element
-
-