pyxmpp.jabber.vcard.VCardXString

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-'.

Method Summary
`str` | ``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)`
`libxml2.xmlNode` | ``as_xml`(self, parent)` Create vcard-tmp XML representation of the field.
Inherited from VCardField
| ``__repr__`(self)`

Instance Variable Summary
`unicode` | `value`: field value.
Inherited from VCardField
| `name`: name of the field.

Method Details

### rfc2426(self) RFC2426-encode the field content. Returns: the field in the RFC 2426 format. (type=`str`) Overrides: `pyxmpp.jabber.vcard.VCardString.rfc2426`

Instance Variable Details

### value field value. Type: `unicode`