org.apache.wookie.w3c.impl
Class DescriptionEntity
java.lang.Object
org.apache.wookie.w3c.impl.AbstractLocalizedEntity
org.apache.wookie.w3c.impl.DescriptionEntity
- All Implemented Interfaces:
- IDescription, IDirectional, ILocalized, IElement
public class DescriptionEntity
- extends AbstractLocalizedEntity
- implements IDescription, IElement
The element
|
Method Summary |
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object |
java.lang.String |
getDescription()
Get widget description content. |
void |
setDescription(java.lang.String description)
Set widget description content. |
org.jdom.Element |
toXml()
Marshall the entity into an XML Element |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DescriptionEntity
public DescriptionEntity()
DescriptionEntity
public DescriptionEntity(java.lang.String description,
java.lang.String language)
getDescription
public java.lang.String getDescription()
- Description copied from interface:
IDescription
- Get widget description content.
- Specified by:
getDescription in interface IDescription
- Returns:
- content
setDescription
public void setDescription(java.lang.String description)
- Description copied from interface:
IDescription
- Set widget description content.
- Specified by:
setDescription in interface IDescription
- Parameters:
description - content
fromXML
public void fromXML(org.jdom.Element element)
- Description copied from interface:
IElement
- Unmarshall the given XML Element to this Object
- Specified by:
fromXML in interface IElement- Overrides:
fromXML in class AbstractLocalizedEntity
- Parameters:
element - The Element to unmarshall
toXml
public org.jdom.Element toXml()
- Description copied from interface:
IElement
- Marshall the entity into an XML Element
- Specified by:
toXml in interface IElement
- Returns:
- the W3C Widgets Element representing the content of the entity
2012 Apache Software Foundation.