Home | Trees | Index | Help |
|
---|
|
object
--+ |StanzaPayloadObject
--+ | VCard
Method Summary | |
---|---|
Initialize a VCard object from data which may be XML node or an RFC2426 string. | |
__getattr__(self,
name)
| |
__getitem__(self,
name)
| |
__repr__(self)
| |
Complete the XML node with self content. | |
str |
Get the RFC2426 representation of self . |
Initialize a VCard object from an RFC2426 string. | |
Initialize a VCard object from XML node. | |
Initialize the mandatory self.fn from self.n . | |
Parse single RFC2425 record and update attributes of self . | |
Inherited from StanzaPayloadObject | |
libxml2.xmlNode or libxml2.xmlDoc |
Get the XML representation of self . |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
list of VCardAdr |
adr : address(es). |
list of VCardString |
bday : birthday date(s). |
list of VCardCategories |
categories : categories. |
list of VCardString |
class : class(es). |
list of VCardXString |
desc : description. |
list of VCardEmail |
email : e-mail address(es). |
VCardString , |
fn : full name. |
list of VCardGeo |
geo : geolocation(s). |
list of VCardJID |
jabberid : JID(s). |
list of VCardKey |
key : key(s). |
list of VCardLabel |
label : address label(s). |
list of VCardImage |
logo : logo(s). |
list of VCardString |
mailer : mailer(s). |
VCardName , |
n : structural name. |
list of VCardString |
nickname : nickname(s). |
list of VCardString |
note : note(s). |
list of VCardOrg |
org : organization(s). |
list of VCardImage |
photo : photo(s). |
list of VCardString |
prodid : product id(s). |
list of VCardString |
rev : revision(s). |
list of VCardString |
role : role(s). |
list of VCardString |
sort-string : sort string(s). |
list of VCardSound |
sound : sound(s). |
list of VCardTel |
tel : phone number(s). |
list of VCardString |
title : title(s). |
list of VCardString |
tz : timezone(s). |
list of VCardString |
uid : user identifier(s). |
list of VCardString |
url : URL(s). |
Class Variable Summary | |
---|---|
dict |
components = {'SOUND': (<class pyxmpp.jabber.vcard.VCard...
|
unicode |
xml_element_name : name for the XML element provided by the class. |
unicode |
xml_element_namespace : namespace URI for the XML element provided
by the class. |
Method Details |
---|
__init__(self,
data)
Initialize a VCard object from data which may be XML node
or an RFC2426 string. |
complete_xml_element(self, xmlnode, _unused)Complete the XML node with Should be overriden in classes derived from
|
rfc2426(self)Get the RFC2426 representation ofself .
|
__from_rfc2426(self, data)Initialize a VCard object from an RFC2426 string.
|
__from_xml(self, data)Initialize a VCard object from XML node.
|
__make_fn(self)Initialize the mandatory This is a workaround for buggy clients which set only one of them. |
_process_rfc2425_record(self, data)Parse single RFC2425 record and update attributes ofself .
|
Instance Variable Details |
---|
adraddress(es).
|
bdaybirthday date(s).
|
categoriescategories.
|
classclass(es).
|
descdescription.
|
|
fnfull name.
|
geogeolocation(s).
|
jabberidJID(s).
|
keykey(s).
|
labeladdress label(s).
|
logologo(s).
|
mailermailer(s).
|
nstructural name.
|
nicknamenickname(s).
|
notenote(s).
|
orgorganization(s).
|
photophoto(s).
|
prodidproduct id(s).
|
revrevision(s).
|
rolerole(s).
|
sort-stringsort string(s).
|
soundsound(s).
|
telphone number(s).
|
titletitle(s).
|
tztimezone(s).
|
uiduser identifier(s).
|
urlURL(s).
|
Class Variable Details |
---|
xml_element_namename for the XML element provided by the class.
|
xml_element_namespacenamespace URI for the XML element provided by the class.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:34 2005 | http://epydoc.sf.net |