pyxmpp.jabber.vcard.VCardField

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

## Class VCardField

Known Subclasses:
  `VCardAdr`, `VCardCategories`, `VCardEmail`, `VCardGeo`, `VCardImage`, `VCardJID`, `VCardKey`, `VCardLabel`, `VCardName`, `VCardOrg`, `VCardPrivacy`, `VCardSound`, `VCardString`, `VCardTel`

Base class for vCard fields.

Method Summary
| ``__init__`(self, name)` Initialize a `VCardField` object.
| `__repr__(self)`
`str` | ``rfc2426`(self)` RFC2426-encode the field content.

Instance Variable Summary
| `name`: name of the field.

Method Details

### __init__(self, name) (Constructor) Initialize a `VCardField` object. Set its name. Parameters: `name` - field name (type=`str`)

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

Instance Variable Details

### name name of the field.