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

 obj
 params

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 prop.py.


Constructor & Destructor Documentation

def icalendar.prop.vInline.__init__ (   self,
  obj 
)

Definition at line 1253 of file prop.py.

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


Member Function Documentation

Definition at line 1264 of file prop.py.

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

Definition at line 1260 of file prop.py.

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

Definition at line 1257 of file prop.py.

01257 
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 prop.py.

Definition at line 1254 of file prop.py.

Definition at line 1255 of file prop.py.


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