Class Person
Person constructs are used to describe authors, contributors, and other people or entities associated with a feed or entry. Each person construct contains a name and optionally a URI and email address.
Person constructs appear in several places:
- atom:author - Indicates the author(s) of a feed or entry
- atom:contributor - Indicates those who contributed to a feed or entry
Schema
atomPersonConstruct = atomCommonAttributes, (element atom:name { text } & element atom:uri { atomUri }? & element atom:email { atomEmailAddress }? & extensionElement*)
Example:
   
Specification:
 Represents an 
See Also:
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
PersonNormal constructor.- Parameters:
- name- The name of the person.
 
- 
Personpublic Person()Bean constructor.
 
- 
- 
Method Details- 
getNameBean property getter:name .Returns the human-readable name for the person (required). - Returns:
- The property value, or null if it is not set.
 
- 
setNameBean property setter:name .Sets the human-readable name for the person (required). Example:Person person =new Person("Jane Doe" );- Parameters:
- value- The new value for this property.
 Can be- null to unset the property.
- Returns:
- This object.
 
- 
getUriBean property getter:uri .Returns a URI associated with the person. Typically this is a personal website or profile page. - Returns:
- The property value, or null if it is not set.
 
- 
setUriBean property setter:uri .Sets a URI associated with the person (typically a website or profile page). The value can be of any of the following types: URI,URL,String. Strings must be valid URIs.Example:Person person =new Person("Jane Doe" ) .setUri("http://example.org/~jane" );- Parameters:
- value- The new value for this property.
 Can be- null to unset the property.
- Returns:
- This object.
 
- 
getEmailBean property getter:email .Returns the email address associated with the person. - Returns:
- The property value, or null if it is not set.
 
- 
setEmailBean property setter:email .Sets the email address associated with the person. Example:Person person =new Person("Jane Doe" ) .setEmail("jane@example.org" );- Parameters:
- value- The new value for this property.
 Can be- null to unset the property.
- Returns:
- This object.
 
- 
setBaseDescription copied from class:Common
- 
setLangDescription copied from class:CommonBean property setter:lang .Sets the natural language of the element's content (xml:lang attribute). Example:Text title =new Text("text" ) .setText("Mon Blog" ) .setLang("fr" );
 
-