Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


oracle.calendar.soap.iCal
Class iCalendar

java.lang.Object
  extended byoracle.calendar.soap.iCal.iCalendar


public class iCalendar
extends java.lang.Object

Parent element for calendaring data returned from the Calendar Web services host. This top-level container provides access to all vCalendar elements.


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 non-XML String representing the iCalendar object and all its 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 Vector of iCalendar objects from a Vector of Element objects.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

iCalendar

public iCalendar()
Default constuctor. version 2002-12-16 fix008343

Method Detail

getNamespace

public java.lang.String getNamespace()
Retrieves the xCal defined namespace. version 2002-12-16 fix008343
Returns:
String - namespace string

getvCalendars

public java.util.Vector getvCalendars()
Retrieves a Vector of vCalendar elements. version 2002-12-16 fix008343
Returns:
Vector - vector of vCalendar objects

addvCalendar

public void addvCalendar(vCalendar in_vcal)
Adds a vCalendar to the iCalendar object. version 2002-12-16 fix008343
Parameters:
in_vcal - 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. version 2002-12-16 fix008343
Parameters:
in_element - Element
Returns:
iCalendar - iCalendar object

unmarshallVector

public static java.util.Vector unmarshallVector(java.util.Vector in_elements)
Constructs a Vector of iCalendar objects from a Vector of Element objects. (Each Element object is an XML DOM representing an iCalendar object.) version 2002-12-16 fix008343
Parameters:
in_elements - Vector of XML DOM element trees
Returns:
Vector - 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 generated to DOM format. version 2002-12-19 fix008359
Returns:
Element - XML DOM element tree

toString

public java.lang.String toString()
Constructs a non-XML String representing the iCalendar object and all its children. (In general, each line of this string contains an iCalendar property, followed by a colon, then the value of the property.) Note that this string is not IETF iCalendar 2.0 format. version 2003-01-16 fix008443
Returns:
String - serialized iCal

Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


Copyright © 1998, 2005, Oracle. All rights reserved.