public class Person extends Object
A person construct is an element that describes a person, corporation, or similar entity.
As listed in Atom specification.
| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail()
The "atom:email" element's content conveys an e-mail address (RFC2822)
associated with the person.
|
String |
getName()
The "atom:name" element's content conveys a human-readable name for the
person.
|
String |
getUri()
The "atom:uri" element's content conveys an IRI (RFC3987) associated with
the person.
|
void |
setEmail(String email) |
void |
setName(String name) |
void |
setUri(String uri) |
String |
toString() |
public String getName()
The "atom:name" element's content conveys a human-readable name for the person. The content of atom:name is Language-Sensitive.
Required as per Atom specified.
String or nullpublic void setName(String name)
public String getUri()
The "atom:uri" element's content conveys an IRI (RFC3987) associated with the person.
Optional as per Atom specification.
String or nullpublic void setUri(String uri)
public String getEmail()
The "atom:email" element's content conveys an e-mail address (RFC2822) associated with the person.
Optional as per Atom specified.
String or nullpublic void setEmail(String email)
Copyright © 2018. All rights reserved.