com.funambol.common.pim.model.model
Class VCalendar
java.lang.Object
com.funambol.common.pim.model.model.VComponent
com.funambol.common.pim.model.model.VCalendar
- All Implemented Interfaces:
- VisitorInterface, java.lang.Comparable
public class VCalendar
- extends VComponent
- implements VisitorInterface
- Version:
- $Id: VCalendar.java,v 1.2 2007-11-28 11:14:05 nichele Exp $
Methods inherited from class com.funambol.common.pim.model.model.VComponent |
addComponent, addProperty, addProperty, clone, compareTo, convertUTCDatesToLocal, delComponent, delProperty, equals, getAllComponents, getAllProperties, getComponent, getComponents, getProperties, getProperty, hashCode, hasProperty, setProperty, toStringBuffer |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
VCALENDAR_VERSION_20
public static final java.lang.String VCALENDAR_VERSION_20
- Version 2.0 is iCalendar as specified by RFC-2445
- See Also:
- Constant Field Values
VCALENDAR_VERSION_10
public static final java.lang.String VCALENDAR_VERSION_10
- Version 1.0 is older vCalendar standard:
http://www.imc.org/pdi/vcal-10.rtf
- See Also:
- Constant Field Values
VCalendar
public VCalendar()
getVComponentName
public java.lang.String getVComponentName()
- Description copied from class:
VComponent
- Should be overridden in concrete subclass to return component name,
for example VEVENT, VTODO or similar
- Specified by:
getVComponentName
in class VComponent
getSifType
public java.lang.String getSifType()
- Specified by:
getSifType
in class VComponent
addEvent
public void addEvent(VEvent event)
addTodo
public void addTodo(VTodo todo)
addTimezone
public void addTimezone(VTimezone timezone)
getVCalendarContent
public VCalendarContent getVCalendarContent()
getFirstVEvent
public VEvent getFirstVEvent()
getFirstVTodo
public VTodo getFirstVTodo()
accept
public void accept(Visitor v)
throws VisitorException
- visitor.
- Specified by:
accept
in interface VisitorInterface
- Parameters:
v
- the visitor
- Throws:
VisitorException
accept
public java.lang.Object accept(VisitorObject v,
java.lang.Object argu)
throws VisitorException
- visitor with arguments.
- Specified by:
accept
in interface VisitorInterface
- Parameters:
v
- the visitorargu
- the argument
- Returns:
- the result of the visit
- Throws:
VisitorException
toString
public java.lang.String toString()
- Overrides:
toString
in class VComponent
Copyright © 2001-2009 Funambol.