ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.portletapp20
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
 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
 String getId()
          Returns the id attribute
 String getListenerClass()
          Returns the listener-class element
 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> removeId()
          Removes the id attribute
 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

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

id

ListenerType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of ListenerType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ListenerType<T> removeId()
Removes the id attribute

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.