Package ietf.params.xml.ns.caldav
Class CalendarDataType
java.lang.Object
ietf.params.xml.ns.caldav.CalendarDataType
When nested in the CALDAV:supported-calendar-data
property, the CALDAV:calendar-data XML element specifies a media
type supported by the CalDAV server for calendar object resources.
When used in a calendaring REPORT request, the CALDAV:calendar-
data XML element specifies which parts of calendar object
resources need to be returned in the response. If the CALDAV:
calendar-data XML element doesn't contain any CALDAV:comp element,
calendar object resources will be returned in their entirety.
Finally, when used in a calendaring REPORT response, the CALDAV:
calendar-data XML element specifies the content of a calendar
object resource. Given that XML parsers normalize the two-
character sequence CRLF (US-ASCII decimal 13 and US-ASCII decimal
10) to a single LF character (US-ASCII decimal 10), the CR
character (US-ASCII decimal 13) MAY be omitted in calendar object
resources specified in the CALDAV:calendar-data XML element.
Furthermore, calendar object resources specified in the CALDAV:
calendar-data XML element MAY be invalid per their media type
specification if the CALDAV:calendar-data XML element part of the
calendaring REPORT request did not specify required properties
(e.g., UID, DTSTAMP, etc.), or specified a CALDAV:prop XML element
with the "novalue" attribute set to "yes".
NOTE: This schema type only applies to calendar-data used in CalDAV
calendar-query requests. The response - with String content is not
covered here as it requires mixed content.
Java class for CalendarDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CalendarDataType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:ietf:params:xml:ns:caldav}comp" minOccurs="0"/>
<choice minOccurs="0">
<element ref="{urn:ietf:params:xml:ns:caldav}expand"/>
<element ref="{urn:ietf:params:xml:ns:caldav}limit-recurrence-set"/>
</choice>
<element ref="{urn:ietf:params:xml:ns:caldav}limit-freebusy-set" minOccurs="0"/>
<element ref="{urn:ietf:params:xml:ns:icalendar-2.0}icalendar" minOccurs="0"/>
</sequence>
<attribute name="content-type" type="{http://www.w3.org/2001/XMLSchema}string" default="text/calendar" />
<attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" default="2.0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CompTypeprotected Stringprotected ExpandTypeprotected IcalendarTypeprotected LimitFreebusySetTypeprotected LimitRecurrenceSetTypeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComp()Gets the value of the comp property.Gets the value of the contentType property.Gets the value of the expand property.Gets the value of the icalendar property.Gets the value of the limitFreebusySet property.Gets the value of the limitRecurrenceSet property.Gets the value of the version property.voidSets the value of the comp property.voidsetContentType(String value) Sets the value of the contentType property.voidsetExpand(ExpandType value) Sets the value of the expand property.voidsetIcalendar(IcalendarType value) Sets the value of the icalendar property.voidSets the value of the limitFreebusySet property.voidSets the value of the limitRecurrenceSet property.voidsetVersion(String value) Sets the value of the version property.
-
Field Details
-
comp
-
expand
-
limitRecurrenceSet
-
limitFreebusySet
-
icalendar
-
contentType
-
version
-
-
Constructor Details
-
CalendarDataType
public CalendarDataType()
-
-
Method Details
-
getComp
Gets the value of the comp property.- Returns:
- possible object is
CompType
-
setComp
Sets the value of the comp property.- Parameters:
value- allowed object isCompType
-
getExpand
Gets the value of the expand property.- Returns:
- possible object is
ExpandType
-
setExpand
Sets the value of the expand property.- Parameters:
value- allowed object isExpandType
-
getLimitRecurrenceSet
Gets the value of the limitRecurrenceSet property.- Returns:
- possible object is
LimitRecurrenceSetType
-
setLimitRecurrenceSet
Sets the value of the limitRecurrenceSet property.- Parameters:
value- allowed object isLimitRecurrenceSetType
-
getLimitFreebusySet
Gets the value of the limitFreebusySet property.- Returns:
- possible object is
LimitFreebusySetType
-
setLimitFreebusySet
Sets the value of the limitFreebusySet property.- Parameters:
value- allowed object isLimitFreebusySetType
-
getIcalendar
Gets the value of the icalendar property.- Returns:
- possible object is
IcalendarType
-
setIcalendar
Sets the value of the icalendar property.- Parameters:
value- allowed object isIcalendarType
-
getContentType
Gets the value of the contentType property.- Returns:
- possible object is
String
-
setContentType
Sets the value of the contentType property.- Parameters:
value- allowed object isString
-
getVersion
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isString
-