|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.ext.atom.Person
public class Person
Element that describes a person, corporation, or similar entity (hereafter, 'person').
| Constructor Summary | |
|---|---|
Person()
Constructor. |
|
Person(String name,
Reference uri,
String email)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getEmail()
Returns the email address associated with the person. |
String |
getName()
Returns the human-readable name. |
Reference |
getUri()
Returns the IRI associated with the person. |
void |
setEmail(String email)
Sets the email address. |
void |
setName(String name)
Sets the human-readable name. |
void |
setUri(Reference uri)
Sets the IRI associated with the person. |
void |
writeElement(XmlWriter writer,
String localName)
Writes the current object as an XML element using the given SAX writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Person()
public Person(String name,
Reference uri,
String email)
name - The name.uri - The URI reference.email - The email address.| Method Detail |
|---|
public String getEmail()
public String getName()
public Reference getUri()
public void setEmail(String email)
email - The email address.public void setName(String name)
name - The human-readable name.public void setUri(Reference uri)
uri - The IRI associated with the person.
public void writeElement(XmlWriter writer,
String localName)
throws SAXException
writer - The SAX writer.localName - The local name of the element.
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||