org.apache.lucene.gdata.gom
Interface GOMPerson

All Superinterfaces:
AtomParser, GOMElement, GOMXmlEntity
All Known Subinterfaces:
GOMAuthor, GOMContributor
All Known Implementing Classes:
GOMAuthorImpl, GOMContributorImpl, GOMPersonImpl

public interface GOMPerson
extends GOMElement

GOMPerson type used for feed and entry authors and contributors. It may also be used by custom elements.

  
   atomPersonConstruct =
   atomCommonAttributes,
   (element atom:name { text }
   & element atom:uri { atomUri }?
   & element atom:email { atomEmailAddress }?
   & extensionElement*)
   }
 

Author:
Simon Willnauer
See Also:
GOMAuthor

Field Summary
static String LOCALNAME
          Atom local name for the xml element
 
Fields inherited from interface org.apache.lucene.gdata.gom.GOMElement
XML_BASE, XML_LANG
 
Fields inherited from interface org.apache.lucene.gdata.gom.core.AtomParser
DUPLICATE_ATTRIBUTE, DUPLICATE_ELEMENT, DUPLICATE_ELEMENT_VALUE, INVALID_ATTRIBUTE, INVALID_ELEMENT_VALUE, MISSING_ELEMENT_ATTRIBUTE, MISSING_ELEMENT_CHILD, MISSING_ELEMENT_VALUE, MISSING_ELEMENT_VALUE_PLAIN, UNEXPECTED_ATTRIBUTE, UNEXPECTED_ELEMENT, UNEXPECTED_ELEMENT_CHILD, UNEXPECTED_ELEMENT_VALUE, URECOGNIZED_ELEMENT_CHILD
 
Method Summary
 String getEmail()
           
 String getName()
           
 String getUri()
           
 void setEmail(String aEmail)
           
 void setName(String aName)
           
 void setUri(String uri)
           
 
Methods inherited from interface org.apache.lucene.gdata.gom.GOMElement
getXmlBase, getXmlLang, writeAtomOutput, writeRssOutput, writeRssOutput
 
Methods inherited from interface org.apache.lucene.gdata.gom.GOMXmlEntity
getLocalName, getQname, getTextValue, setLocalName, setNamespacePrefix, setNamespaceUri, setTextValue
 
Methods inherited from interface org.apache.lucene.gdata.gom.core.AtomParser
getChildParser, processAttribute, processElementValue, processEndElement
 

Field Detail

LOCALNAME

static final String LOCALNAME
Atom local name for the xml element

See Also:
Constant Field Values
Method Detail

setName

void setName(String aName)
Parameters:
aName - - the person name value

setEmail

void setEmail(String aEmail)
Parameters:
aEmail - - the person email value

setUri

void setUri(String uri)
Parameters:
uri - - the person uri value

getName

String getName()
Returns:
- the person name value

getEmail

String getEmail()
Returns:
- the person email value

getUri

String getUri()
Returns:
- the person uri value


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.