Home | Trees | Index | Help |
|
---|
Package pyxmpp :: Package jabber :: Module vcard :: Class VCardSound |
|
VCardField
--+
|
VCardSound
Sound vCard field. :Ivariables: - `sound`: binary sound data (when `uri` is None) - `uri`: sound URI (when `sound` is None) - `phonetic`: phonetic transcription :Types: - `sound`: `str` - `uri`: `unicode` - `phonetic`: `unicode`
Method Summary | |
---|---|
Initialize a `VCardSound` 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:02 2006 | http://epydoc.sf.net |