org.jboss.shrinkwrap.descriptor.api.javaee6
Interface IconType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
IconTypeImpl

public interface IconType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the iconType xsd type

Original Documentation:



The icon type contains small-icon and large-icon elements
that specify the file names for small and large GIF, JPEG,
or PNG icon images used to represent the parent element in a
GUI tool.

The xml:lang attribute defines the language that the
icon file names are provided in. Its value is "en" (English)
by default.


Since:
Generation date :2011-07-19T22:55:02.759+02:00
Author:
Ralf Battenfeld

Method Summary
 java.lang.String getLargeIcon()
          Returns the large-icon element
 java.lang.String getSmallIcon()
          Returns the small-icon element
 IconType<T> removeLargeIcon()
          Removes the large-icon element
 IconType<T> removeSmallIcon()
          Removes the small-icon element
 IconType<T> setLargeIcon(java.lang.String largeIcon)
          If not already created, a new large-icon element with the given value will be created.
 IconType<T> setSmallIcon(java.lang.String smallIcon)
          If not already created, a new small-icon element with the given value will be created.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setSmallIcon

IconType<T> setSmallIcon(java.lang.String smallIcon)
If not already created, a new small-icon element with the given value will be created. Otherwise, the existing small-icon element will be updated with the given value.

Returns:
the current instance of IconType

removeSmallIcon

IconType<T> removeSmallIcon()
Removes the small-icon element

Returns:
the current instance of IconType

getSmallIcon

java.lang.String getSmallIcon()
Returns the small-icon element

Returns:
the node defined for the element small-icon

setLargeIcon

IconType<T> setLargeIcon(java.lang.String largeIcon)
If not already created, a new large-icon element with the given value will be created. Otherwise, the existing large-icon element will be updated with the given value.

Returns:
the current instance of IconType

removeLargeIcon

IconType<T> removeLargeIcon()
Removes the large-icon element

Returns:
the current instance of IconType

getLargeIcon

java.lang.String getLargeIcon()
Returns the large-icon element

Returns:
the node defined for the element large-icon