org.jboss.shrinkwrap.descriptor.test.impl.connector10
Class IconImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.test.impl.connector10.IconImpl<T>
All Implemented Interfaces:
Child<T>, Icon<T>

public class IconImpl<T>
extends Object
implements Child<T>, Icon<T>

This class implements the icon xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Constructor Summary
IconImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
IconImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 String getLargeIcon()
          Returns the large-icon element
 String getSmallIcon()
          Returns the small-icon element
 Icon<T> largeIcon(String largeIcon)
          Sets the large-icon element
 Icon<T> removeLargeIcon()
          Removes the large-icon element
 Icon<T> removeSmallIcon()
          Removes the small-icon element
 Icon<T> smallIcon(String smallIcon)
          Sets the small-icon element
 T up()
          Returns the parent of this Child
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

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


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.