oracle.calendar.soap.iCal
Class iCalendar
java.lang.Object
|
+--oracle.calendar.soap.iCal.iCalendar
- public class iCalendar
- extends java.lang.Object
The iCalendar class is a parent element for calendaring data returned from the Calendar Web Services host. This toplevel container provides the access to all vcalendar elements. The element hierarchy mirrors the IETF xCal and iCal standards.
- iCalendar
- vcalendar
- vevent
- vorganizer
- vevent
- vorganizer
- vattendee
- vattendee
- vcalendar
- vevent
- vorganizer
- vcalendar
- vtodo
Constructor Summary |
iCalendar()
Default constuctor |
Method Summary |
void |
addvCalendar(vCalendar in_vcal)
Adds a vCalendar to the iCalendar object. |
org.w3c.dom.Element |
getElement(org.w3c.dom.Document in_document)
Returns a new XML DOM structure representing the iCalendar XML tree structure. |
java.lang.String |
getNamespace()
Retrieves the xCal defined namespace. |
java.util.Vector |
getvCalendars()
Retrieves a Vector of vCalendar elements. |
java.lang.String |
toString()
Constructs a String representing the iCalendar objects and all children. |
static iCalendar |
unmarshall(org.w3c.dom.Element in_element)
Constructs a new iCalendar instance from the XML elements within the XML DOM. |
static java.util.Vector |
unmarshallVector(java.util.Vector in_elements)
Constructs a new iCalendar Vector from the XML elements within the XML DOM. |
Methods inherited from class java.lang.Object |
<clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
k_Namespace
static final java.lang.String k_Namespace
k_iCalendar
static final java.lang.String k_iCalendar
k_vCalendar
static final java.lang.String k_vCalendar
m_namespace
private java.lang.String m_namespace
m_vCalendars
private java.util.Vector m_vCalendars
iCalendar
public iCalendar()
- Default constuctor
getNamespace
public java.lang.String getNamespace()
- Retrieves the xCal defined namespace.
-
- Returns:
- String a namespace string
getvCalendars
public java.util.Vector getvCalendars()
- Retrieves a Vector of vCalendar elements.
-
- Returns:
- Vector a vector of vCalendar objects
addvCalendar
public void addvCalendar(vCalendar in_vcal)
- Adds a vCalendar to the iCalendar object.
-
- Parameters:
in_vcal
- a vCalendar
- See Also:
vCalendar
unmarshall
public static iCalendar unmarshall(org.w3c.dom.Element in_element)
- Constructs a new iCalendar instance from the XML elements within the XML DOM. The iCalendar will contain the contents of the all vCalendar objects within the tree.
-
- Parameters:
in_element
-
- Returns:
- iCalendar an iCalendar object
unmarshallVector
public static java.util.Vector unmarshallVector(java.util.Vector in_elements)
- Constructs a new iCalendar Vector from the XML elements within the XML DOM. The iCalendars will contain the contents of the all vCalendar objects within the tree.
-
- Parameters:
in_elements
-
- Returns:
- Vector an iCalendar Vector
getElement
public org.w3c.dom.Element getElement(org.w3c.dom.Document in_document)
- Returns a new XML DOM structure representing the iCalendar XML tree structure. This is called internally when a Calendarlet command is being generated to DOM format.
-
- Returns:
- Element an XML DOM element tree
toString
public java.lang.String toString()
- Constructs a String representing the iCalendar objects and all children. NOTE: this is not iCalendar 2.0 format.
-
- Overrides:
toString
in class java.lang.Object
-
- Returns:
- String a serialized iCal