Package pdi :: Module vcard :: Class VCard
[show private | hide private]
[frames | no frames]

Class VCard

object --+    
         |    
 Component --+
             |
            VCard


vCard (RFC 2425 and RFC 2426) component.
Method Summary
  __init__(self, parent)
a new object with type S, a subtype of T __new__(S, ...)
  __str__(self)
Serialize this component as well as it's properties and subcomponents. (inherited from Component)
pdi.core.Component addComponent(self, component, lineNumber)
Add a subcomponent to this component. (inherited from Component)
  addComponents(self, componentList)
Candy method for adding several components at one time. (inherited from Component)
  addProperties(self, propertyList)
Candy method for adding several properties at one time. (inherited from Component)
pdi.core.Property addProperty(self, property, lineNumber)
Add a property to this component. (inherited from Component)
string getName(self)
Return the name of this component. (inherited from Component)
  interpret(self, key, value, lineNumber)
Interprets a symbol and value. (inherited from Component)
pdi.core.Component parseLine(self, data, lineNumber)
This parses one line of data. (inherited from Component)
  registerComponents(self, componentList, rule)
Register all valid (or invalid, depending on rule) components. (inherited from Component)
  registerProperties(self, propertyList, rule)
Register valid (or invalid, depending on rule) properties. (inherited from Component)
  registerPropertyTypes(self, propertyTypes)
Register available property types. (inherited from Component)
  validate(self, lineNumber)
This will make sure that all mandatory components and properties are present. (inherited from Component)

Method Details

__init__(self, parent=None)
(Constructor)

Parameters:
parent - The parent component, if any. May be omitted or None if it is a top-level component.
           (type=pdi.core.Component)

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

Generated by Epydoc 1.1 on Sun Nov 24 14:33:25 2002 http://epydoc.sf.net