org.apache.wookie.w3c.impl
Class NameEntity

java.lang.Object
  extended by org.apache.wookie.w3c.impl.AbstractLocalizedEntity
      extended by org.apache.wookie.w3c.impl.NameEntity
All Implemented Interfaces:
IElement, ILocalizedElement, ILocalizedEntity, INameEntity

public class NameEntity
extends AbstractLocalizedEntity
implements INameEntity

the element


Field Summary
 
Fields inherited from class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
dir, lang, LEFT_TO_RIGHT, LEFT_TO_RIGHT_OVERRIDE, RIGHT_TO_LEFT, RIGHT_TO_LEFT_OVERRIDE
 
Constructor Summary
NameEntity()
           
NameEntity(java.lang.String name, java.lang.String short1, java.lang.String language)
           
 
Method Summary
 void fromXML(org.jdom.Element element)
          Unmarshall the given XML Element to this Object
 java.lang.String getName()
           
 java.lang.String getShort()
           
 void setName(java.lang.String name)
           
 void setShort(java.lang.String short1)
           
 org.jdom.Element toXml()
          Marshall the entity into an XML Element
 
Methods inherited from class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
getDir, getLang, getLocalizedTextContent, getTextDirection, isValid, setDir, setLang, setLocalisationAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.wookie.w3c.ILocalizedEntity
getDir, isValid
 
Methods inherited from interface org.apache.wookie.w3c.ILocalizedElement
getLang, setLang
 

Constructor Detail

NameEntity

public NameEntity()

NameEntity

public NameEntity(java.lang.String name,
                  java.lang.String short1,
                  java.lang.String language)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface INameEntity

setName

public void setName(java.lang.String name)
Specified by:
setName in interface INameEntity

getShort

public java.lang.String getShort()
Specified by:
getShort in interface INameEntity

setShort

public void setShort(java.lang.String short1)
Specified by:
setShort in interface INameEntity

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


2011 Apache Software Foundation.