|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Person
An Atom Person Construct
Per RFC4287:
A Person construct is an element that describes a person, corporation, or similar entity (hereafter, 'person'). atomPersonConstruct = atomCommonAttributes, (element atom:name { text } & element atom:uri { atomUri }? & element atom:email { atomEmailAddress }? & extensionElement*)
Method Summary | |
---|---|
java.lang.String |
getEmail()
The "atom:email" element's content conveys an e-mail address associated with the person. |
Element |
getEmailElement()
The "atom:email" element's content conveys an e-mail address associated with the person. |
java.lang.String |
getName()
The "atom:name" element's content conveys a human-readable name for the person. |
Element |
getNameElement()
The "atom:name" element's content conveys a human-readable name for the person. |
org.apache.abdera.i18n.iri.IRI |
getUri()
The "atom:uri" element's content conveys an IRI associated with the person. |
IRIElement |
getUriElement()
The "atom:uri" element's content conveys an IRI associated with the person. |
Element |
setEmail(java.lang.String email)
The "atom:email" element's content conveys an e-mail address associated with the person. |
void |
setEmailElement(Element element)
The "atom:email" element's content conveys an e-mail address associated with the person. |
Element |
setName(java.lang.String name)
The "atom:name" element's content conveys a human-readable name for the person. |
void |
setNameElement(Element element)
The "atom:name" element's content conveys a human-readable name for the person. |
IRIElement |
setUri(java.lang.String uri)
The "atom:uri" element's content conveys an IRI associated with the person. |
void |
setUriElement(IRIElement uri)
The "atom:uri" element's content conveys an IRI associated with the person. |
Methods inherited from interface org.apache.abdera.model.ExtensibleElement |
---|
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension |
Methods inherited from interface org.apache.abdera.model.Element |
---|
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText |
Methods inherited from interface org.apache.abdera.model.Base |
---|
addComment, clone, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo |
Method Detail |
---|
Element getNameElement()
void setNameElement(Element element)
element
- The atom:name elementElement setName(java.lang.String name)
name
- The person name
java.lang.String getName()
Element getEmailElement()
void setEmailElement(Element element)
element
- The atom:email elementElement setEmail(java.lang.String email)
email
- The person email
java.lang.String getEmail()
IRIElement getUriElement()
void setUriElement(IRIElement uri)
uri
- The atom:uri elementIRIElement setUri(java.lang.String uri)
uri
- The atom:uri value
IRISyntaxException
- if the uri is malformedorg.apache.abdera.i18n.iri.IRI getUri()
IRISyntaxException
- if the uri is invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |