Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
icalendar.prop.vInline Class Reference

List of all members.

Public Member Functions

def __init__
def ical
def from_ical
def __str__

Public Attributes


Static Public Attributes

tuple from_ical = staticmethod(from_ical)

Detailed Description

This is an especially dumb class that just holds raw unparsed text and has
parameters. Conversion of inline values are handled by the Component class,
so no further processing is needed.

>>> vInline('Some text')
'Some text'

>>> vInline.from_ical('Some text')
'Some text'

>>> t2 = vInline('other text')
>>> t2.params['cn'] = 'Test Osterone'
>>> t2.params
Parameters({'CN': 'Test Osterone'})

Definition at line 1234 of file

Constructor & Destructor Documentation

def icalendar.prop.vInline.__init__ (   self,

Definition at line 1253 of file

01254     def __init__(self,obj):
01255         self.obj = obj
01256         self.params = Parameters()

Member Function Documentation

Definition at line 1264 of file

01265     def __str__(self):
01266         return str(self.obj)

Definition at line 1260 of file

01261     def from_ical(ical):
        return str(ical)

Definition at line 1257 of file

01258     def ical(self):
01259         return str(self)

Member Data Documentation

tuple icalendar.prop.vInline.from_ical = staticmethod(from_ical) [static]

Definition at line 1262 of file

Definition at line 1254 of file

Definition at line 1255 of file

The documentation for this class was generated from the following file: