com.google.gdata.data
Class Feed

java.lang.Object
  extended by com.google.gdata.data.ExtensionPoint
      extended by com.google.gdata.data.Source
          extended by com.google.gdata.data.BaseFeed<Feed,Entry>
              extended by com.google.gdata.data.Feed

public class Feed
extends BaseFeed<Feed,Entry>

The Feed class customizes the BaseFeed class to represent the most generic possible Feed type.


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, ExtensionPoint.Manifest
 
Field Summary
 
Fields inherited from class com.google.gdata.data.BaseFeed
canPost, entries, entryClass, itemsPerPage, service, startIndex, totalResults
 
Fields inherited from class com.google.gdata.data.Source
authors, categories, contributors, generator, icon, id, links, logo, rights, subtitle, title, updated
 
Fields inherited from class com.google.gdata.data.ExtensionPoint
xmlBlob
 
Constructor Summary
Feed()
          Constructs a new Feed instance that is parameterized to contain Entry instances.
 
Method Summary
 void declareExtensions(ExtensionProfile extProfile)
          Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
 
Methods inherited from class com.google.gdata.data.BaseFeed
createEntry, generateAtom, generateAtomColl, generateFeedEnd, generateFeedStart, generateRss, getCanPost, getEntries, getEntryPostLink, getItemsPerPage, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, insert, parseAtom, parseAtom, setCanPost, setItemsPerPage, setService, setStartIndex, setTotalResults
 
Methods inherited from class com.google.gdata.data.Source
addHtmlLink, generateInnerAtom, getAuthors, getCategories, getContributors, getGenerator, getHtmlLink, getIcon, getId, getLink, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, setGenerator, setIcon, setId, setLogo, setRights, setSubtitle, setTitle, setUpdated
 
Methods inherited from class com.google.gdata.data.ExtensionPoint
addExtension, addRepeatingExtension, checkRequiredExtensions, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionHandler, getManifest, getRepeatingExtension, getXmlBlob, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Feed

public Feed()
Constructs a new Feed instance that is parameterized to contain Entry instances.

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.

Overrides:
declareExtensions in class BaseFeed<Feed,Entry>
Parameters:
extProfile - the ExtensionProfile to initialize.