Class IconTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.j2ee14.IconTypeImpl<T>
-
-
Constructor Summary
Constructors Constructor Description IconTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)IconTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete 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-iconelementTup()
-
-
-
Method Detail
-
getSmallIcon
public String getSmallIcon()
Returns thesmall-iconelement- Specified by:
getSmallIconin interfaceIconType<T>- Returns:
- the node defined for the element
small-icon
-
removeSmallIcon
public IconType<T> removeSmallIcon()
Removes thesmall-iconelement- Specified by:
removeSmallIconin interfaceIconType<T>- Returns:
- the current instance of
IconType
-
getLargeIcon
public String getLargeIcon()
Returns thelarge-iconelement- Specified by:
getLargeIconin interfaceIconType<T>- Returns:
- the node defined for the element
large-icon
-
removeLargeIcon
public IconType<T> removeLargeIcon()
Removes thelarge-iconelement- Specified by:
removeLargeIconin interfaceIconType<T>- Returns:
- the current instance of
IconType
-
getId
public String getId()
Returns theidattribute
-
-