org.ow2.jonas.deployment.common.xml
Class Icon

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.Icon
All Implemented Interfaces:
Serializable, Element

public class Icon
extends AbsElement

This class defines the implementation of the element icon.

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
Icon()
           
 
Method Summary
 String getLargeIcon()
           
 String getSmallIcon()
           
 void setLargeIcon(String largeIcon)
          Sets the large icon name
 void setSmallIcon(String smallIcon)
          Sets the small icon name
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Icon

public Icon()
Method Detail

setSmallIcon

public void setSmallIcon(String smallIcon)
Sets the small icon name

Parameters:
smallIcon - the name of the file for small GIF or JPEG icon image

setLargeIcon

public void setLargeIcon(String largeIcon)
Sets the large icon name

Parameters:
largeIcon - the name of the file for large GIF or JPEG icon image

getSmallIcon

public String getSmallIcon()
Returns:
the small icon name

getLargeIcon

public String getLargeIcon()
Returns:
the large icon name

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.