Class IconImpl<T>

  • All Implemented Interfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>, Icon<T>

    public class IconImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, Icon<T>
    This class implements the icon xsd type
    • Constructor Detail

      • IconImpl

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

        public IconImpl​(T t,
                        String nodeName,
                        org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                        org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

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

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

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

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

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

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

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