Home | Trees | Index | Help |
|
---|
Package pyxmpp :: Package jabber :: Module vcard :: Class VCardImage |
|
VCardField
--+
|
VCardImage
Image vCard field. :Ivariables: - `image`: image binary data (when `uri` is None) - `uri`: image URI (when `image` is None) - `type`: optional image type :Types: - `image`: `str` - `uri`: `unicode` - `type`: `unicode`
Method Summary | |
---|---|
Initialize a `VCardImage` object. | |
__str__(self)
| |
__unicode__(self)
| |
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:00 2006 | http://epydoc.sf.net |