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 theiconTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()Returns theidattributeStringgetLargeIcon()Returns thelarge-iconelementStringgetSmallIcon()Returns thesmall-iconelementIconType<T>id(String id)Sets theidattributeIconType<T>largeIcon(String largeIcon)Sets thelarge-iconelementIconType<T>removeId()Removes theidattributeIconType<T>removeLargeIcon()Removes thelarge-iconelementIconType<T>removeSmallIcon()Removes thesmall-iconelementIconType<T>smallIcon(String smallIcon)Sets thesmall-iconelement
-
-
-
Method Detail
-
smallIcon
IconType<T> smallIcon(String smallIcon)
Sets thesmall-iconelement- Parameters:
smallIcon- the value for the elementsmall-icon- Returns:
- the current instance of
IconType
-
getSmallIcon
String getSmallIcon()
Returns thesmall-iconelement- Returns:
- the node defined for the element
small-icon
-
removeSmallIcon
IconType<T> removeSmallIcon()
Removes thesmall-iconelement- Returns:
- the current instance of
IconType
-
largeIcon
IconType<T> largeIcon(String largeIcon)
Sets thelarge-iconelement- Parameters:
largeIcon- the value for the elementlarge-icon- Returns:
- the current instance of
IconType
-
getLargeIcon
String getLargeIcon()
Returns thelarge-iconelement- Returns:
- the node defined for the element
large-icon
-
removeLargeIcon
IconType<T> removeLargeIcon()
Removes thelarge-iconelement- Returns:
- the current instance of
IconType
-
id
IconType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
IconType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
-