public class ListenerElement extends Object
An element is defined by either an on
event of a combination of begin
and end
events.
Constructor and Description |
---|
ListenerElement(String name) |
Modifier and Type | Method and Description |
---|---|
Method |
getBeginMethod() |
Method |
getEndMethod() |
String |
getName() |
Method |
getOnMethod() |
List<Type> |
getParameters() |
void |
setBeginMethod(Method beginMethod) |
void |
setEndMethod(Method endMethod) |
void |
setOnMethod(Method onMethod) |
public ListenerElement(String name)
name
- the name of the elementpublic String getName()
public Method getBeginMethod()
on
event based elementpublic void setBeginMethod(Method beginMethod)
beginMethod
- the begin method, null if it's a on
event based elementpublic Method getEndMethod()
on
event based elementpublic void setEndMethod(Method endMethod)
endMethod
- the end method, null if it's a on
event based elementpublic Method getOnMethod()
begin/end
event based elementpublic void setOnMethod(Method onMethod)
onMethod
- the on method, null if it's a begin/end
event based elementCopyright © 2004–2021 XWiki. All rights reserved.