public class IconEntity extends AbstractLocalizedEntity implements IIcon, IElement
dir, lang, LEFT_TO_RIGHT, LEFT_TO_RIGHT_OVERRIDE, RIGHT_TO_LEFT, RIGHT_TO_LEFT_OVERRIDE| Constructor and Description |
|---|
IconEntity() |
IconEntity(java.lang.String src,
java.lang.Integer height,
java.lang.Integer width) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object
|
void |
fromXML(org.jdom.Element element,
java.lang.String[] locales,
org.apache.commons.compress.archivers.zip.ZipFile zip) |
java.lang.Integer |
getHeight()
Get widget icon height.
|
java.lang.String |
getSrc()
Get widget icon source URL.
|
java.lang.Integer |
getWidth()
Get widget icon width.
|
void |
setHeight(java.lang.Integer height)
Set widget icon height.
|
void |
setSrc(java.lang.String src)
Set widget icon source URL.
|
void |
setWidth(java.lang.Integer width)
Set widget icon width.
|
org.jdom.Element |
toXml()
Marshall the entity into an XML Element
|
getDir, getLang, getLocalizedTextContent, getTextDirection, isValid, setDir, setLang, setLocalisationAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLang, setLangpublic IconEntity()
public IconEntity(java.lang.String src,
java.lang.Integer height,
java.lang.Integer width)
public java.lang.String getSrc()
IIconpublic void setSrc(java.lang.String src)
IIconpublic java.lang.Integer getHeight()
IIconpublic void setHeight(java.lang.Integer height)
IIconpublic java.lang.Integer getWidth()
IIconpublic void setWidth(java.lang.Integer width)
IIconpublic void fromXML(org.jdom.Element element)
IElementfromXML in interface IElementfromXML in class AbstractLocalizedEntityelement - The Element to unmarshallpublic void fromXML(org.jdom.Element element,
java.lang.String[] locales,
org.apache.commons.compress.archivers.zip.ZipFile zip)
throws BadManifestException
BadManifestException2012 Apache Software Foundation.