public class AuthorEntity extends AbstractLocalizedEntity implements IAuthor, IElement
dir, lang, LEFT_TO_RIGHT, LEFT_TO_RIGHT_OVERRIDE, RIGHT_TO_LEFT, RIGHT_TO_LEFT_OVERRIDE| Constructor and Description |
|---|
AuthorEntity() |
AuthorEntity(java.lang.String authorName,
java.lang.String href,
java.lang.String email) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object
|
java.lang.String |
getAuthorName()
Get the details of the author, e.g.
|
java.lang.String |
getEmail()
Get the email address of the author
|
java.lang.String |
getHref()
Get the URL of the author details, e.g.
|
void |
setAuthorName(java.lang.String authorName)
Set the author details
|
void |
setEmail(java.lang.String email)
Set the author's email
|
void |
setHref(java.lang.String href)
Set the author's Href
|
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, setLanggetDir, isValid, setDirpublic AuthorEntity()
public AuthorEntity(java.lang.String authorName,
java.lang.String href,
java.lang.String email)
public java.lang.String getAuthorName()
IAuthorgetAuthorName in interface IAuthorpublic void setAuthorName(java.lang.String authorName)
IAuthorsetAuthorName in interface IAuthorauthorName - tha author details to setpublic java.lang.String getHref()
IAuthorpublic void setHref(java.lang.String href)
IAuthorpublic java.lang.String getEmail()
IAuthorpublic void setEmail(java.lang.String email)
IAuthorpublic void fromXML(org.jdom.Element element)
IElementfromXML in interface IElementfromXML in class AbstractLocalizedEntityelement - The Element to unmarshall2012 Apache Software Foundation.