Class PersonWrapper

    • Constructor Detail

      • PersonWrapper

        public PersonWrapper​(Factory factory,
                             javax.xml.namespace.QName qname)
    • Method Detail

      • getEmail

        public java.lang.String getEmail()
        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()
        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 java.lang.String getName()
        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()
        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()
        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()
        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​(java.lang.String email)
        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)
        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​(java.lang.String name)
        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)
        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​(java.lang.String uri)
        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)
        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