|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.Source
com.google.gdata.data.BaseFeed<Feed,Entry>
com.google.gdata.data.Feed
public class Feed
The Feed class customizes the BaseFeed class to represent the most
generic possible feed type. One usage for this class is to enable the
parsing of feeds where the extension model is unknown at the start of
the parsing process. Using in combination with ExtensionProfile
auto-extension, the feed can be parsed generically, and then the
BaseFeed.getAdaptedFeed()
can be used to retrieve a more-specfic feed
type based upon the Category
kind elements founds within the
parsed feed content.
ExtensionProfile.setAutoExtending(boolean)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseFeed |
---|
BaseFeed.FeedHandler, BaseFeed.FeedState |
Nested classes/interfaces inherited from class com.google.gdata.data.Source |
---|
Source.SourceHandler, Source.SourceState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary |
---|
Fields inherited from class com.google.gdata.data.BaseFeed |
---|
entries, entryClass, feedState |
Fields inherited from class com.google.gdata.data.Source |
---|
srcState |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
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 |
---|
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, visitChildren |
Methods inherited from class com.google.gdata.data.Source |
---|
addHtmlLink, addLink, addLink, generateInnerAtom, 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.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 |
---|
public Feed()
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
BaseFeed
The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class BaseFeed<Feed,Entry>
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |