Home | Trees | Index | Help |
|
---|
Package pyxmpp :: Package jabber :: Module vcard :: Class VCardString |
|
VCardField
--+
|
VCardString
VCardXString
Generic class for all standard text fields in the vCard. :Ivariables: - `value`: field value. :Types: - `value`: `unicode`
Method Summary | |
---|---|
Initialize a `VCardString` 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,
empty_ok=False)
|
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 |