org.ow2.jonas.deployment.common.xml
Class Icon
java.lang.Object
org.ow2.jonas.deployment.common.xml.AbsElement
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()
|
Icon
public Icon()
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.