Class CalendarDataType

java.lang.Object
ietf.params.xml.ns.caldav.CalendarDataType

public class CalendarDataType extends Object
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 Details

  • Constructor Details

    • CalendarDataType

      public CalendarDataType()
  • Method Details

    • getComp

      public CompType getComp()
      Gets the value of the comp property.
      Returns:
      possible object is CompType
    • setComp

      public void setComp(CompType value)
      Sets the value of the comp property.
      Parameters:
      value - allowed object is CompType
    • getExpand

      public ExpandType getExpand()
      Gets the value of the expand property.
      Returns:
      possible object is ExpandType
    • setExpand

      public void setExpand(ExpandType value)
      Sets the value of the expand property.
      Parameters:
      value - allowed object is ExpandType
    • getLimitRecurrenceSet

      public LimitRecurrenceSetType getLimitRecurrenceSet()
      Gets the value of the limitRecurrenceSet property.
      Returns:
      possible object is LimitRecurrenceSetType
    • setLimitRecurrenceSet

      public void setLimitRecurrenceSet(LimitRecurrenceSetType value)
      Sets the value of the limitRecurrenceSet property.
      Parameters:
      value - allowed object is LimitRecurrenceSetType
    • getLimitFreebusySet

      public LimitFreebusySetType getLimitFreebusySet()
      Gets the value of the limitFreebusySet property.
      Returns:
      possible object is LimitFreebusySetType
    • setLimitFreebusySet

      public void setLimitFreebusySet(LimitFreebusySetType value)
      Sets the value of the limitFreebusySet property.
      Parameters:
      value - allowed object is LimitFreebusySetType
    • getIcalendar

      public IcalendarType getIcalendar()
      Gets the value of the icalendar property.
      Returns:
      possible object is IcalendarType
    • setIcalendar

      public void setIcalendar(IcalendarType value)
      Sets the value of the icalendar property.
      Parameters:
      value - allowed object is IcalendarType
    • getContentType

      public String getContentType()
      Gets the value of the contentType property.
      Returns:
      possible object is String
    • setContentType

      public void setContentType(String value)
      Sets the value of the contentType property.
      Parameters:
      value - allowed object is String
    • getVersion

      public String getVersion()
      Gets the value of the version property.
      Returns:
      possible object is String
    • setVersion

      public void setVersion(String value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is String