com.google.gdata.data.calendar
Class CalendarEventFeed

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ExtensionPoint
          extended by com.google.gdata.data.Source
              extended by com.google.gdata.data.BaseFeed<F,E>
                  extended by com.google.gdata.data.extensions.BaseEventFeed<CalendarEventFeed,CalendarEventEntry>
                      extended by com.google.gdata.data.calendar.CalendarEventFeed
All Implemented Interfaces:
Extension, IAtom, IFeed, Kind.Adaptable, Kind.Adaptor

public class CalendarEventFeed
extends BaseEventFeed<CalendarEventFeed,CalendarEventEntry>

Describes a Calendar event feed.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.data.BaseFeed
BaseFeed.FeedHandler
 
Nested classes/interfaces inherited from class com.google.gdata.data.Source
Source.SourceHandler
 
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
 
Constructor Summary
CalendarEventFeed()
          Default mutable constructor.
CalendarEventFeed(BaseFeed<?,?> sourceFeed)
          Constructs a new instance by doing a shallow copy of data from an existing BaseFeed instance.
 
Method Summary
 void declareExtensions(ExtensionProfile extProfile)
          Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
 TimesCleanedProperty getTimesCleaned()
          Returns the times cleaned property.
 TimeZoneProperty getTimeZone()
          Returns the time zone.
 boolean hasTimesCleaned()
          Returns whether it has the times cleaned property.
 boolean hasTimeZone()
          Returns whether it has the time zone.
 void setTimesCleaned(TimesCleanedProperty timesCleaned)
          Sets the times cleaned property.
 void setTimeZone(TimeZoneProperty timeZone)
          Sets the time zone.
 java.lang.String toString()
           
 
Methods inherited from class com.google.gdata.data.BaseFeed
addAdaptor, createEntry, generate, generateAtom, generateFeedEnd, generateFeedStart, generateRss, getAdaptedFeed, getAdaptor, getAdaptors, getCanPost, getEntries, getEntries, getEntryPostLink, getEtag, getFeedBatchLink, getHandler, getItemsPerPage, getKind, getNextLink, getPreviousLink, getSelectedFields, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, getVersionId, insert, parseAtom, parseAtom, parseAtom, readFeed, readFeed, setCanPost, setEntries, setEtag, setItemsPerPage, setKind, setSelectedFields, setService, setStartIndex, setTotalResults, setVersionId
 
Methods inherited from class com.google.gdata.data.Source
addHtmlLink, addLink, addLink, getAuthors, getCategories, getContributors, getGenerator, getHtmlLink, getIcon, getId, getLink, getLinks, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, removeLinks, removeLinks, setGenerator, setGenerator, setIcon, setId, setLogo, setRights, setSubtitle, setTitle, setUpdated
 
Methods inherited from class com.google.gdata.data.ExtensionPoint
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gdata.data.IFeed
getGenerator, getLogo, getSubtitle, setGenerator, setLogo
 
Methods inherited from interface com.google.gdata.data.IAtom
addLink, getAuthors, getCategories, getId, getLink, getLinks, getTitle, getUpdated, removeLinks, removeLinks, setId, setUpdated
 

Constructor Detail

CalendarEventFeed

public CalendarEventFeed()
Default mutable constructor.


CalendarEventFeed

public CalendarEventFeed(BaseFeed<?,?> sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing BaseFeed instance.

Parameters:
sourceFeed - source feed
Method Detail

declareExtensions

public void declareExtensions(ExtensionProfile extProfile)
Description copied from class: BaseFeed
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.

Specified by:
declareExtensions in interface Kind.Adaptor
Overrides:
declareExtensions in class BaseEventFeed<CalendarEventFeed,CalendarEventEntry>
Parameters:
extProfile - the ExtensionProfile to initialize.
See Also:
ExtensionProfile.addDeclarations(Kind.Adaptor)

getTimeZone

public TimeZoneProperty getTimeZone()
Returns the time zone.

Returns:
time zone

setTimeZone

public void setTimeZone(TimeZoneProperty timeZone)
Sets the time zone.

Parameters:
timeZone - time zone or null to reset

hasTimeZone

public boolean hasTimeZone()
Returns whether it has the time zone.

Returns:
whether it has the time zone

getTimesCleaned

public TimesCleanedProperty getTimesCleaned()
Returns the times cleaned property.

Returns:
times cleaned property

setTimesCleaned

public void setTimesCleaned(TimesCleanedProperty timesCleaned)
Sets the times cleaned property.

Parameters:
timesCleaned - times cleaned property or null to reset

hasTimesCleaned

public boolean hasTimesCleaned()
Returns whether it has the times cleaned property.

Returns:
whether it has the times cleaned property

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object