ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.j2ee14
Interface ListenerType<T>

All Superinterfaces:
Child<T>

public interface ListenerType<T>
extends Child<T>

This interface defines the contract for the listenerType xsd type

Since:
Generation date :2012-05-09T23:45:02.086-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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 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> 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> removeListenerClass()
          Removes the listener-class element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

ListenerType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of ListenerType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ListenerType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ListenerType

displayName

ListenerType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of ListenerType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

ListenerType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of ListenerType

getOrCreateIcon

IconType<ListenerType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<ListenerType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<ListenerType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

ListenerType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

listenerClass

ListenerType<T> listenerClass(String listenerClass)
Sets the listener-class element

Parameters:
listenerClass - the value for the element listener-class
Returns:
the current instance of ListenerType

getListenerClass

String getListenerClass()
Returns the listener-class element

Returns:
the node defined for the element listener-class

removeListenerClass

ListenerType<T> removeListenerClass()
Removes the listener-class element

Returns:
the current instance of ListenerType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.