public interface ListenerType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
listenerType
xsd typeModifier and Type | Method and Description |
---|---|
IconType<ListenerType<T>> |
createIcon()
Creates a new
icon element |
ListenerType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
ListenerType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<ListenerType<T>>> |
getAllIcon()
Returns all
icon elements |
String |
getId()
Returns the
id attribute |
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(String id)
Sets the
id attribute |
ListenerType<T> |
listenerClass(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(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsListenerType
List<String> getAllDescription()
description
elementsdescription
ListenerType<T> removeAllDescription()
description
elementListenerType
ListenerType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsListenerType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
ListenerType<T> removeAllDisplayName()
display-name
elementListenerType
IconType<ListenerType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<ListenerType<T>> createIcon()
icon
elementIconType>
List<IconType<ListenerType<T>>> getAllIcon()
icon
elementsicon
ListenerType<T> removeAllIcon()
icon
elementsIconType>
ListenerType<T> listenerClass(String listenerClass)
listener-class
elementlistenerClass
- the value for the element listener-class
ListenerType
String getListenerClass()
listener-class
elementlistener-class
ListenerType<T> removeListenerClass()
listener-class
elementListenerType
ListenerType<T> id(String id)
id
attributeid
- the value for the attribute id
ListenerType
String getId()
id
attributeid
ListenerType<T> removeId()
id
attributeListenerType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)