org.apache.wookie.w3c.impl
Class AuthorEntity
java.lang.Object
org.apache.wookie.w3c.impl.AbstractLocalizedEntity
org.apache.wookie.w3c.impl.AuthorEntity
- All Implemented Interfaces:
- IAuthorEntity, IElement, ILocalizedElement, ILocalizedEntity
public class AuthorEntity
- extends AbstractLocalizedEntity
- implements IAuthorEntity
The element
|
Constructor Summary |
AuthorEntity()
|
AuthorEntity(java.lang.String authorName,
java.lang.String href,
java.lang.String email)
|
|
Method Summary |
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object |
java.lang.String |
getAuthorName()
|
java.lang.String |
getEmail()
|
java.lang.String |
getHref()
|
void |
setAuthorName(java.lang.String authorName)
|
void |
setEmail(java.lang.String email)
|
void |
setHref(java.lang.String href)
|
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 |
AuthorEntity
public AuthorEntity()
AuthorEntity
public AuthorEntity(java.lang.String authorName,
java.lang.String href,
java.lang.String email)
getAuthorName
public java.lang.String getAuthorName()
- Specified by:
getAuthorName in interface IAuthorEntity
setAuthorName
public void setAuthorName(java.lang.String authorName)
- Specified by:
setAuthorName in interface IAuthorEntity
getHref
public java.lang.String getHref()
- Specified by:
getHref in interface IAuthorEntity
setHref
public void setHref(java.lang.String href)
- Specified by:
setHref in interface IAuthorEntity
getEmail
public java.lang.String getEmail()
- Specified by:
getEmail in interface IAuthorEntity
setEmail
public void setEmail(java.lang.String email)
- Specified by:
setEmail in interface IAuthorEntity
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.