org.intabulas.sandler.elements.impl
Class PersonImpl

java.lang.Object
  extended by org.intabulas.sandler.elements.impl.PersonImpl
All Implemented Interfaces:
AtomElement, ParseableEntity, Person

public class PersonImpl
extends Object
implements Person, AtomElement

PersonImpl

Version:
$Id: PersonImpl.java,v 1.2 2004/02/05 00:05:56 intabulas Exp $
Author:
Mark Lussier

Field Summary
 
Fields inherited from interface org.intabulas.sandler.elements.AtomElement
ATOM_NAMESPACE, ATOM_VERSION, ATTRIBUTE_HREF, ATTRIBUTE_LANG, ATTRIBUTE_LANG_NP, ATTRIBUTE_MODE, ATTRIBUTE_NAME, ATTRIBUTE_REL, ATTRIBUTE_TITLE, ATTRIBUTE_TYPE, ATTRIBUTE_URL, ATTRIBUTE_VERSION, ATTRIBUTE_XMLNS, CDATA_END, CDATA_START, ELEMENT_AUTHOR, ELEMENT_CONTENT, ELEMENT_CONTRIBUTOR, ELEMENT_COPYRIGHT, ELEMENT_CREATED, ELEMENT_EMAIL, ELEMENT_ENTRY, ELEMENT_FEED, ELEMENT_GENERATOR, ELEMENT_HOMEPAGE, ELEMENT_ID, ELEMENT_INFO, ELEMENT_ISSUED, ELEMENT_LINK, ELEMENT_MODIFIED, ELEMENT_NAME, ELEMENT_SUMMARY, ELEMENT_TAGLINE, ELEMENT_TITLE, ELEMENT_URL, FORMAT_COMMENT, FORMAT_ENDELEMENT, FORMAT_FEEDATTRIBUTES, FORMAT_NAMEATTRIBUTE, FORMAT_STARTELEMENT, FORMAT_STRINGELEMENT, HTMLTAG_BEGIN, HTMLTAG_CLOSE, HTMLTAG_END, HTMLTAG_START, SPACE, XML_STARTDOC
 
Constructor Summary
PersonImpl()
           
 
Method Summary
 String getEmail()
          Returns the Email Address of the Author/Contributor
 String getName()
          Returns the Name of the Author/Contributor
 String getUrl()
          Returns the URL of the Author/Contributor
 void loadDocument(org.xmlpull.v1.XmlPullParser parser)
          Extract relevant content from the parser stream
 void setEmail(String email)
          Set's the Email Address of the Author/Contributor
 void setName(String name)
          Set's the Name of the Author/Contributor
 void setUrl(String url)
          Set's the URL of the Author/Contributor
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersonImpl

public PersonImpl()
Method Detail

getUrl

public String getUrl()
Returns the URL of the Author/Contributor

Specified by:
getUrl in interface Person
Returns:
a String representing the URL

setUrl

public void setUrl(String url)
Set's the URL of the Author/Contributor

Specified by:
setUrl in interface Person
Parameters:
url - a String representing the URL

getName

public String getName()
Returns the Name of the Author/Contributor

Specified by:
getName in interface Person
Returns:
a String representing the Name

setName

public void setName(String name)
Set's the Name of the Author/Contributor

Specified by:
setName in interface Person
Parameters:
name - a String representing the Name

getEmail

public String getEmail()
Returns the Email Address of the Author/Contributor

Specified by:
getEmail in interface Person
Returns:
a String representing the Email Address

setEmail

public void setEmail(String email)
Set's the Email Address of the Author/Contributor

Specified by:
setEmail in interface Person
Parameters:
email - a String representing the Email Address

toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
Returns:
a String representation of the object.

loadDocument

public void loadDocument(org.xmlpull.v1.XmlPullParser parser)
                  throws org.xmlpull.v1.XmlPullParserException
Description copied from interface: ParseableEntity
Extract relevant content from the parser stream

Specified by:
loadDocument in interface ParseableEntity
Parameters:
parser - the XML Pull Parser instabce
Throws:
org.xmlpull.v1.XmlPullParserException


Copyright © 2003-2004 Mark Lussier. All Rights Reserved.