Package org.apache.abdera.model
Class PersonWrapper
- java.lang.Object
-
- org.apache.abdera.model.ElementWrapper
-
- org.apache.abdera.model.ExtensibleElementWrapper
-
- org.apache.abdera.model.PersonWrapper
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Iterable<Element>
,Base
,Element
,ExtensibleElement
,Person
,Constants
@Deprecated(since="2021-07-29") public abstract class PersonWrapper extends ExtensibleElementWrapper implements Person, Constants
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.ElementWrapper implementation that implements the Person interface. Used to create static extensions based on the Atom Person Construct
-
-
Field Summary
-
Fields inherited from interface org.apache.abdera.util.Constants
ACCEPT, AID, ALTERNATE, APP_MEDIA_TYPE, APP_NS, APP_NS_PRE_RFC, APP_PREFIX, ATITLE, ATOM_MEDIA_TYPE, ATOM_NS, AURI, AUTHOR, BASE, CAT_MEDIA_TYPE, CATEGORIES, CATEGORY, CLASS, COLLECTION, CONFIG_FACTORY, CONFIG_PARSER, CONFIG_PARSERFACTORY, CONFIG_STREAMWRITER, CONFIG_WRITER, CONFIG_WRITERFACTORY, CONFIG_XPATH, CONTENT, CONTRIBUTOR, CONTROL, CONTROL_NS, CONTROL_PREFIX, DEFAULT_FACTORY, DEFAULT_PARSER, DEFAULT_PARSERFACTORY, DEFAULT_STREAMWRITER, DEFAULT_WRITER, DEFAULT_WRITERFACTORY, DEFAULT_XPATH, DIV, DRAFT, EDITED, EMAIL, ENTRY, ENTRY_MEDIA_TYPE, FEED, FEED_MEDIA_TYPE, FIXED, GENERATOR, HREF, HREFLANG, HTML, ICON, ID, LABEL, LANG, LENGTH, LINK, LN_ACCEPT, LN_ALTERNATE, LN_ALTERNATE_MULTIPART_RELATED, LN_AUTHOR, LN_BASE, LN_CATEGORIES, LN_CATEGORY, LN_CLASS, LN_COLLECTION, LN_CONTENT, LN_CONTRIBUTOR, LN_CONTROL, LN_DIV, LN_DRAFT, LN_EDITED, LN_EMAIL, LN_ENTRY, LN_FEED, LN_FIXED, LN_GENERATOR, LN_HREF, LN_HREFLANG, LN_ICON, LN_ID, LN_LABEL, LN_LANG, LN_LENGTH, LN_LINK, LN_LOGO, LN_NAME, LN_PUBLISHED, LN_REL, LN_RIGHTS, LN_SCHEME, LN_SERVICE, LN_SOURCE, LN_SPACE, LN_SRC, LN_SUBTITLE, LN_SUMMARY, LN_TERM, LN_TITLE, LN_TYPE, LN_UPDATED, LN_URI, LN_VERSION, LN_WORKSPACE, LOGO, MULTIPART_RELATED_TYPE, NAME, NAMED_PARSER, NAMED_WRITER, NO, PRE_RFC_ACCEPT, PRE_RFC_CATEGORIES, PRE_RFC_COLLECTION, PRE_RFC_CONTROL, PRE_RFC_DRAFT, PRE_RFC_EDITED, PRE_RFC_SERVICE, PRE_RFC_WORKSPACE, PREFIX, PREFIXED_TITLE, PUBLISHED, REL, RIGHTS, SCHEME, SERVICE, SOURCE, SPACE, SRC, STREAM_WRITER, SUBTITLE, SUMMARY, TERM, TEXT, TITLE, TYPE, UPDATED, URI, VERSION, WORKSPACE, XHTML, XHTML_NS, XML, XML_MEDIA_TYPE, XML_NS, YES
-
-
Constructor Summary
Constructors Constructor Description PersonWrapper(Factory factory, javax.xml.namespace.QName qname)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getEmail()
Deprecated.The "atom:email" element's content conveys an e-mail address associated with the person.Element
getEmailElement()
Deprecated.The "atom:email" element's content conveys an e-mail address associated with the person.java.lang.String
getName()
Deprecated.The "atom:name" element's content conveys a human-readable name for the person.Element
getNameElement()
Deprecated.The "atom:name" element's content conveys a human-readable name for the person.IRI
getUri()
Deprecated.The "atom:uri" element's content conveys an IRI associated with the person.IRIElement
getUriElement()
Deprecated.The "atom:uri" element's content conveys an IRI associated with the person.Element
setEmail(java.lang.String email)
Deprecated.The "atom:email" element's content conveys an e-mail address associated with the person.Person
setEmailElement(Element element)
Deprecated.The "atom:email" element's content conveys an e-mail address associated with the person.Element
setName(java.lang.String name)
Deprecated.The "atom:name" element's content conveys a human-readable name for the person.Person
setNameElement(Element element)
Deprecated.The "atom:name" element's content conveys a human-readable name for the person.IRIElement
setUri(java.lang.String uri)
Deprecated.The "atom:uri" element's content conveys an IRI associated with the person.Person
setUriElement(IRIElement element)
Deprecated.The "atom:uri" element's content conveys an IRI associated with the person.-
Methods inherited from class org.apache.abdera.model.ExtensibleElementWrapper
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getMustPreserveWhitespace, getSimpleExtension, getSimpleExtension, setMustPreserveWhitespace
-
Methods inherited from class org.apache.abdera.model.ElementWrapper
addComment, clone, complete, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguage, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText, setText, toString, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
-
Methods inherited from interface org.apache.abdera.model.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
-
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, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText
-
Methods inherited from interface org.apache.abdera.model.ExtensibleElement
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension
-
-
-
-
Constructor Detail
-
PersonWrapper
public PersonWrapper(Factory factory, javax.xml.namespace.QName qname)
Deprecated.
-
-
Method Detail
-
getEmail
public java.lang.String getEmail()
Deprecated.Description copied from interface:Person
The "atom:email" element's content conveys an e-mail address associated with the person. Person constructs MAY contain an atom:email element, but MUST NOT contain more than one. Its content MUST conform to the "addr-spec" production in [RFC2822].
-
getEmailElement
public Element getEmailElement()
Deprecated.Description copied from interface:Person
The "atom:email" element's content conveys an e-mail address associated with the person. Person constructs MAY contain an atom:email element, but MUST NOT contain more than one. Its content MUST conform to the "addr-spec" production in [RFC2822].- Specified by:
getEmailElement
in interfacePerson
- Returns:
- the atom:email element
-
getName
public java.lang.String getName()
Deprecated.Description copied from interface:Person
The "atom:name" element's content conveys a human-readable name for the person. The content of atom:name is Language-Sensitive. Person constructs MUST contain exactly one "atom:name" element.
-
getNameElement
public Element getNameElement()
Deprecated.Description copied from interface:Person
The "atom:name" element's content conveys a human-readable name for the person. The content of atom:name is Language-Sensitive. Person constructs MUST contain exactly one "atom:name" element.- Specified by:
getNameElement
in interfacePerson
- Returns:
- The atom:name element
-
getUri
public IRI getUri()
Deprecated.Description copied from interface:Person
The "atom:uri" element's content conveys an IRI associated with the person. Person constructs MAY contain an atom:uri element, but MUST NOT contain more than one. The content of atom:uri in a Person construct MUST be an IRI reference [RFC3987].
-
getUriElement
public IRIElement getUriElement()
Deprecated.Description copied from interface:Person
The "atom:uri" element's content conveys an IRI associated with the person. Person constructs MAY contain an atom:uri element, but MUST NOT contain more than one. The content of atom:uri in a Person construct MUST be an IRI reference [RFC3987].- Specified by:
getUriElement
in interfacePerson
- Returns:
- the atom:uri element
-
setEmail
public Element setEmail(java.lang.String email)
Deprecated.Description copied from interface:Person
The "atom:email" element's content conveys an e-mail address associated with the person. Person constructs MAY contain an atom:email element, but MUST NOT contain more than one. Its content MUST conform to the "addr-spec" production in [RFC2822].
-
setEmailElement
public Person setEmailElement(Element element)
Deprecated.Description copied from interface:Person
The "atom:email" element's content conveys an e-mail address associated with the person. Person constructs MAY contain an atom:email element, but MUST NOT contain more than one. Its content MUST conform to the "addr-spec" production in [RFC2822].- Specified by:
setEmailElement
in interfacePerson
- Parameters:
element
- The atom:email element
-
setName
public Element setName(java.lang.String name)
Deprecated.Description copied from interface:Person
The "atom:name" element's content conveys a human-readable name for the person. The content of atom:name is Language-Sensitive. Person constructs MUST contain exactly one "atom:name" element.
-
setNameElement
public Person setNameElement(Element element)
Deprecated.Description copied from interface:Person
The "atom:name" element's content conveys a human-readable name for the person. The content of atom:name is Language-Sensitive. Person constructs MUST contain exactly one "atom:name" element.- Specified by:
setNameElement
in interfacePerson
- Parameters:
element
- The atom:name element
-
setUri
public IRIElement setUri(java.lang.String uri)
Deprecated.Description copied from interface:Person
The "atom:uri" element's content conveys an IRI associated with the person. Person constructs MAY contain an atom:uri element, but MUST NOT contain more than one. The content of atom:uri in a Person construct MUST be an IRI reference [RFC3987].
-
setUriElement
public Person setUriElement(IRIElement element)
Deprecated.Description copied from interface:Person
The "atom:uri" element's content conveys an IRI associated with the person. Person constructs MAY contain an atom:uri element, but MUST NOT contain more than one. The content of atom:uri in a Person construct MUST be an IRI reference [RFC3987].- Specified by:
setUriElement
in interfacePerson
- Parameters:
element
- The atom:uri element
-
-