Class IconTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.IconTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, IconType<T>

public class IconTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, IconType<T>
This class implements the iconType xsd type
  • Constructor Details

    • IconTypeImpl

      public IconTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • IconTypeImpl

      public IconTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • smallIcon

      public IconType<T> smallIcon(String smallIcon)
      Sets the small-icon element
      Specified by:
      smallIcon in interface IconType<T>
      Parameters:
      smallIcon - the value for the element small-icon
      Returns:
      the current instance of IconType
    • getSmallIcon

      public String getSmallIcon()
      Returns the small-icon element
      Specified by:
      getSmallIcon in interface IconType<T>
      Returns:
      the node defined for the element small-icon
    • removeSmallIcon

      public IconType<T> removeSmallIcon()
      Removes the small-icon element
      Specified by:
      removeSmallIcon in interface IconType<T>
      Returns:
      the current instance of IconType
    • largeIcon

      public IconType<T> largeIcon(String largeIcon)
      Sets the large-icon element
      Specified by:
      largeIcon in interface IconType<T>
      Parameters:
      largeIcon - the value for the element large-icon
      Returns:
      the current instance of IconType
    • getLargeIcon

      public String getLargeIcon()
      Returns the large-icon element
      Specified by:
      getLargeIcon in interface IconType<T>
      Returns:
      the node defined for the element large-icon
    • removeLargeIcon

      public IconType<T> removeLargeIcon()
      Removes the large-icon element
      Specified by:
      removeLargeIcon in interface IconType<T>
      Returns:
      the current instance of IconType
    • id

      public IconType<T> id(String id)
      Sets the id attribute
      Specified by:
      id in interface IconType<T>
      Parameters:
      id - the value for the attribute id
      Returns:
      the current instance of IconType
    • getId

      public String getId()
      Returns the id attribute
      Specified by:
      getId in interface IconType<T>
      Returns:
      the value defined for the attribute id
    • removeId

      public IconType<T> removeId()
      Removes the id attribute
      Specified by:
      removeId in interface IconType<T>
      Returns:
      the current instance of IconType