public class Person extends Object
| Constructor and Description |
|---|
Person()
Constructor.
|
Person(String name,
Reference uri,
String email)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.SAXExceptionCopyright © 2005–2015. All rights reserved.