GoogleCalendar.gItem Class Reference

Inheritance diagram for GoogleCalendar.gItem:

GoogleCalendar.gCalendar GoogleCalendar.gComment GoogleCalendar.gEvent List of all members.

Detailed Description

Basic Google item.

Base class common to all Google Calendar elements : Calendar itself, events, comments..


Public Member Functions

def __init__
def delete
 To delete the item from Google Calendar.
def getAsTabulatedXMLString
 To get item as a pretty XML string representation.
def getAsXMLString
 To get item as a XML string representation.
def getEditURL
 To get the URL for manage the item.
def readFromDom
 Build the item directly from a dom node.
def readFromXMLString
 Build the item from a string with XML syntax.
def update
 To update the item from Google Calendar.


Member Function Documentation

def GoogleCalendar.gItem.delete (   self  ) 

To delete the item from Google Calendar.

def GoogleCalendar.gItem.getAsTabulatedXMLString (   self  ) 

To get item as a pretty XML string representation.

Return the item in XML format, internally call xml.dom.minidom.toprettyxml. 

def GoogleCalendar.gItem.getAsXMLString (   self  ) 

To get item as a XML string representation.

Return the item in XML format, internally call xml.dom.minidom.toxml. 

def GoogleCalendar.gItem.getEditURL (   self  ) 

To get the URL for manage the item.

Only accessible with items retrieved from a Google Account. 

def GoogleCalendar.gItem.readFromDom (   self,
  dom 
)

Build the item directly from a dom node.

Parameter must be a element of type xml.dom.minidom. 

def GoogleCalendar.gItem.readFromXMLString (   self,
  strxml 
)

Build the item from a string with XML syntax.

Internally uses xml.dom.minidom.parseString. 

def GoogleCalendar.gItem.update (   self  ) 

To update the item from Google Calendar.

The items to be updated must implement a getXMLForSend, a method
to build the minimal XML to store de information needed for update 


The documentation for this class was generated from the following file:
Generated on Fri Mar 30 00:29:45 2007 for (GCPi) GoogleCalendar Python Interface by  doxygen 1.5.1