Home | Trees | Index | Help |
|
---|
Package pyxmpp :: Package jabber :: Module vcard :: Class VCardKey |
|
VCardField
--+
|
VCardKey
Key vCard field. :Ivariables: - `type`: key type. - `cred`: key data. :Types: - `type`: `unicode` - `cred`: `str`
Method Summary | |
---|---|
Initialize a `VCardKey` object. | |
Create vcard-tmp XML representation of the field. | |
RFC2426-encode the field content. | |
Inherited from VCardField | |
|
Method Details |
---|
__init__(self,
name,
value,
rfc2425parameters=None)
|
as_xml(self, parent)Create vcard-tmp XML representation of the field. :Parameters: - `parent`: parent node for the element :Types: - `parent`: `libxml2.xmlNode` :return: xml node with the field data. :returntype: `libxml2.xmlNode` |
rfc2426(self)RFC2426-encode the field content. :return: the field in the RFC 2426 format. :returntype: `str`
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed May 31 22:37:01 2006 | http://epydoc.sf.net |