Back to index

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

List of all members.

Public Member Functions

def __init__
def ical
def from_ical
def __str__

Public Attributes

 params

Static Public Attributes

tuple from_ical = staticmethod(from_ical)

Detailed Description

Uniform resource identifier is basically just an unquoted string.
>>> u = vUri('http://www.example.com/')
>>> u.ical()
'http://www.example.com/'
>>> vUri.from_ical('http://www.example.com/') # doh!
'http://www.example.com/'

Definition at line 1059 of file prop.py.


Constructor & Destructor Documentation

def icalendar.prop.vUri.__init__ (   self,
  args,
  kwargs 
)

Definition at line 1069 of file prop.py.

01069 
01070     def __init__(self, *args, **kwargs):
01071         str.__init__(self, *args, **kwargs)
01072         self.params = Parameters()


Member Function Documentation

Definition at line 1084 of file prop.py.

01084 
01085     def __str__(self):
01086         return str.__str__(self)
01087 
01088 

Definition at line 1076 of file prop.py.

01076 
01077     def from_ical(ical):
01078         "Parses the data format from ical text format"
01079         try:
01080             return str(ical)
01081         except:
            raise ValueError, 'Expected , got: %s' % ical
def icalendar.prop.vUri.ical (   self)

Definition at line 1073 of file prop.py.

01073 
01074     def ical(self):
01075         return str(self)

Here is the caller graph for this function:


Member Data Documentation

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

Definition at line 1082 of file prop.py.

Definition at line 1071 of file prop.py.


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