Class PersonWrapper

All Implemented Interfaces:
Cloneable, 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
  • Constructor Details

    • PersonWrapper

      public PersonWrapper(Factory factory, QName qname)
      Deprecated.
  • Method Details

    • getEmail

      public 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].
      Specified by:
      getEmail in interface Person
      Returns:
      the person's emali
    • 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 interface Person
      Returns:
      the atom:email element
    • getName

      public 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.
      Specified by:
      getName in interface Person
      Returns:
      The name value
    • 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 interface Person
      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].
      Specified by:
      getUri in interface Person
      Returns:
      The atom:uri value
    • 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 interface Person
      Returns:
      the atom:uri element
    • setEmail

      public Element setEmail(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].
      Specified by:
      setEmail in interface Person
      Parameters:
      email - The person email
      Returns:
      the newly created atom:email element
    • 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 interface Person
      Parameters:
      element - The atom:email element
    • setName

      public Element setName(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.
      Specified by:
      setName in interface Person
      Parameters:
      name - The person name
      Returns:
      The newly created 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 interface Person
      Parameters:
      element - The atom:name element
    • setUri

      public IRIElement setUri(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].
      Specified by:
      setUri in interface Person
      Parameters:
      uri - The atom:uri value
    • 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 interface Person
      Parameters:
      element - The atom:uri element