|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee6.ListenerTypeImpl<T>
public class ListenerTypeImpl<T>
This class implements the listenerType
xsd type
Original Documentation:
The listenerType indicates the deployment properties for a web
application listener bean.
Constructor Summary | |
---|---|
ListenerTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ListenerTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.util.List<IconType<ListenerType<T>>> |
getIconList()
Returns all icon elements |
java.lang.String |
getListenerClass()
Returns the listener-class element |
IconType<ListenerType<T>> |
icon()
Returns the icon 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> |
removeListenerClass()
Removes the listener-class element |
ListenerType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ListenerType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ListenerType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
ListenerType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
ListenerType<T> |
setListenerClass(java.lang.String listenerClass)
If not already created, a new listener-class element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListenerTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ListenerTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public ListenerType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface ListenerType<T>
ListenerType
public ListenerType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface ListenerType<T>
list
- of description
objects
ListenerType
public ListenerType<T> removeAllDescription()
description
element
removeAllDescription
in interface ListenerType<T>
ListenerType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface ListenerType<T>
description
public ListenerType<T> setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface ListenerType<T>
ListenerType
public ListenerType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface ListenerType<T>
list
- of display-name
objects
ListenerType
public ListenerType<T> removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface ListenerType<T>
ListenerType
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface ListenerType<T>
display-name
public ListenerType<T> removeAllIcon()
icon
elements
removeAllIcon
in interface ListenerType<T>
ListenerType
public IconType<ListenerType<T>> icon()
icon
element
icon
in interface ListenerType<T>
icon
public java.util.List<IconType<ListenerType<T>>> getIconList()
icon
elements
getIconList
in interface ListenerType<T>
icon
public ListenerType<T> setListenerClass(java.lang.String listenerClass)
listener-class
element with the given value will be created.
Otherwise, the existing listener-class
element will be updated with the given value.
setListenerClass
in interface ListenerType<T>
ListenerType
public ListenerType<T> removeListenerClass()
listener-class
element
removeListenerClass
in interface ListenerType<T>
ListenerType
public java.lang.String getListenerClass()
listener-class
element
getListenerClass
in interface ListenerType<T>
listener-class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |