com.google.api.gbase.client
Class GoogleBaseFeed

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<GoogleBaseFeed,GoogleBaseEntry>
                  extended by com.google.api.gbase.client.GoogleBaseFeed
All Implemented Interfaces:
Extension, IAtom, IFeed, Kind.Adaptable, Kind.Adaptor

public class GoogleBaseFeed
extends BaseFeed<GoogleBaseFeed,GoogleBaseEntry>

An ATOM feed containing entries of type GoogleBaseEntry. Feeds are usually created by GoogleBaseService.getFeed(java.net.URL) or GoogleBaseService.query(com.google.gdata.client.Query), but they can be created and initialized independently as well.


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
GoogleBaseFeed()
          Creates a new, empty feed.
 
Method Summary
 void addEntry(GoogleBaseEntry entry)
          Adds an entry.
 void declareExtensions(ExtensionProfile extProfile)
          Declares the g: extension.
 GoogleBaseAttributesExtension getGoogleBaseAttributes()
          Accesses tags in the g: namespace.
 
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, toString, 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

GoogleBaseFeed

public GoogleBaseFeed()
Creates a new, empty feed.

Method Detail

getGoogleBaseAttributes

public GoogleBaseAttributesExtension getGoogleBaseAttributes()
Accesses tags in the g: namespace.

Returns:
extension corresponding to tags in the g: namespace, never null but might be empty.

addEntry

public void addEntry(GoogleBaseEntry entry)
Adds an entry. This is a convenience method equivalent to: getEntries().add().

Parameters:
entry -

declareExtensions

public void declareExtensions(ExtensionProfile extProfile)
Declares the g: extension.

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