
public interface ListenerType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
listenerType xsd type| Modifier and Type | Method and Description |
|---|---|
IconType<ListenerType<T>> |
createIcon()
Creates a new
icon element |
ListenerType<T> |
description(java.lang.String... values)
Creates for all String objects representing
description elements,
a new description element |
ListenerType<T> |
displayName(java.lang.String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
java.util.List<java.lang.String> |
getAllDescription()
Returns all
description elements |
java.util.List<java.lang.String> |
getAllDisplayName()
Returns all
display-name elements |
java.util.List<IconType<ListenerType<T>>> |
getAllIcon()
Returns all
icon elements |
java.lang.String |
getId()
Returns the
id attribute |
java.lang.String |
getListenerClass()
Returns the
listener-class element |
IconType<ListenerType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
ListenerType<T> |
id(java.lang.String id)
Sets the
id attribute |
ListenerType<T> |
listenerClass(java.lang.String listenerClass)
Sets the
listener-class element |
ListenerType<T> |
removeAllDescription()
Removes the
description element |
ListenerType<T> |
removeAllDisplayName()
Removes the
display-name element |
ListenerType<T> |
removeAllIcon()
Removes all
icon elements |
ListenerType<T> |
removeId()
Removes the
id attribute |
ListenerType<T> |
removeListenerClass()
Removes the
listener-class element |
ListenerType<T> description(java.lang.String... values)
description elements,
a new description elementvalues - list of description objectsListenerTypejava.util.List<java.lang.String> getAllDescription()
description elementsdescriptionListenerType<T> removeAllDescription()
description elementListenerTypeListenerType<T> displayName(java.lang.String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsListenerTypejava.util.List<java.lang.String> getAllDisplayName()
display-name elementsdisplay-nameListenerType<T> removeAllDisplayName()
display-name elementListenerTypeIconType<ListenerType<T>> getOrCreateIcon()
icon element will be created and returned.
Otherwise, the first existing icon element will be returned.iconIconType<ListenerType<T>> createIcon()
icon elementIconType> java.util.List<IconType<ListenerType<T>>> getAllIcon()
icon elementsiconListenerType<T> removeAllIcon()
icon elementsIconType> ListenerType<T> listenerClass(java.lang.String listenerClass)
listener-class elementlistenerClass - the value for the element listener-classListenerTypejava.lang.String getListenerClass()
listener-class elementlistener-classListenerType<T> removeListenerClass()
listener-class elementListenerTypeListenerType<T> id(java.lang.String id)
id attributeid - the value for the attribute idListenerTypejava.lang.String getId()
id attributeidListenerType<T> removeId()
id attributeListenerTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)