Package pyxmpp :: Package jabber :: Module vcard :: Class VCardXString
[show private | hide private]
[frames | no frames]

Class VCardXString

VCardField --+    
             |    
   VCardString --+
                 |
                VCardXString


Generic class for all text vCard fields not defined in RFC 2426.

In the RFC 2425 representation field name will be prefixed with 'x-'.

:Ivariables:
    - `value`: field value.
:Types:
    - `value`: `unicode`

Method Summary
  rfc2426(self)
RFC2426-encode the field content.
    Inherited from VCardString
  __init__(self, name, value, rfc2425parameters, empty_ok)
Initialize a `VCardString` object.
  __str__(self)
  __unicode__(self)
  as_xml(self, parent)
Create vcard-tmp XML representation of the field.
    Inherited from VCardField
  __repr__(self)

Method Details

rfc2426(self)

RFC2426-encode the field content.

:return: the field in the RFC 2426 format.
:returntype: `str`
Overrides:
pyxmpp.jabber.vcard.VCardString.rfc2426

Generated by Epydoc 2.1 on Wed May 31 22:36:59 2006 http://epydoc.sf.net