|
||||||||||
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(java.lang.String name,
Reference uri,
java.lang.String email)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getEmail()
Returns the email address associated with the person. |
java.lang.String |
getName()
Returns the human-readable name. |
Reference |
getUri()
Returns the IRI associated with the person. |
void |
setEmail(java.lang.String email)
Sets the email address. |
void |
setName(java.lang.String name)
Sets the human-readable name. |
void |
setUri(Reference uri)
Sets the IRI associated with the person. |
void |
writeElement(XmlWriter writer,
java.lang.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(java.lang.String name, Reference uri, java.lang.String email)
name
- The name.uri
- The URI reference.email
- The email address.Method Detail |
---|
public java.lang.String getEmail()
public java.lang.String getName()
public Reference getUri()
public void setEmail(java.lang.String email)
email
- The email address.public void setName(java.lang.String name)
name
- The human-readable name.public void setUri(Reference uri)
uri
- The IRI associated with the person.public void writeElement(XmlWriter writer, java.lang.String localName) throws org.xml.sax.SAXException
writer
- The SAX writer.localName
- The local name of the element.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |