Package common :: Module atom :: Class PersonConstruct
[hide private]
[frames] | no frames]

Class PersonConstruct

source code


Not used for now, as we don't need authors/contributors in pubsub.com feeds. They rarely exist there
Instance Methods [hide private]
 
__init__(self, node)
Create person construct from node.
source code
 
get_name(self) source code
 
get_uri(self) source code
 
get_email(self) source code

Inherited from xmpp.simplexml.Node: __contains__, __delitem__, __getattr__, __getitem__, __setitem__, __str__, addChild, addData, clearData, delAttr, delChild, getAttr, getAttrs, getChildren, getData, getName, getNamespace, getParent, getPayload, getTag, getTagAttr, getTagData, getTags, has_attr, iterTags, lookup_nsp, setAttr, setData, setName, setNamespace, setParent, setPayload, setTag, setTagAttr, setTagData

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]

Inherited from xmpp.simplexml.Node: FORCE_NODE_RECREATION

Properties [hide private]
  name
Conveys a human-readable name for the person.
  uri
Conveys an IRI associated with the person.
  email
Conveys an e-mail address associated with the person.

Inherited from object: __class__

Method Details [hide private]

__init__(self, node)
(Constructor)

source code 
Create person construct from node.
Overrides: object.__init__

get_name(self)

source code 

get_uri(self)

source code 

get_email(self)

source code 

Property Details [hide private]

name

Conveys a human-readable name for the person. Should not be None, although some badly generated atom feeds don't put anything here (this is non-standard behavior, still pubsub.com sometimes does that.)
Get Method:
get_name(self)

uri

Conveys an IRI associated with the person. Might be None when not set.
Get Method:
get_uri(self)

email

Conveys an e-mail address associated with the person. Might be None when not set.
Get Method:
get_email(self)