|
|||||||||
| 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<DataFeed,DataEntry>
com.google.gdata.data.analytics.DataFeed
public class DataFeed
Feed element in data feed.
| 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 | |
|---|---|
DataFeed()
Default mutable constructor. |
|
DataFeed(BaseFeed<?,?> sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing BaseFeed instance. |
|
| Method Summary | |
|---|---|
void |
addDataSource(DataSource dataSource)
Adds a new data source. |
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
Aggregates |
getAggregates()
Returns the aggregates. |
java.util.List<DataSource> |
getDataSources()
Returns the data sources. |
EndDate |
getEndDate()
Returns the end date. |
StartDate |
getStartDate()
Returns the start date. |
boolean |
hasAggregates()
Returns whether it has the aggregates. |
boolean |
hasDataSources()
Returns whether it has the data sources. |
boolean |
hasEndDate()
Returns whether it has the end date. |
boolean |
hasStartDate()
Returns whether it has the start date. |
void |
setAggregates(Aggregates aggregates)
Sets the aggregates. |
void |
setEndDate(EndDate endDate)
Sets the end date. |
void |
setStartDate(StartDate startDate)
Sets the start date. |
java.lang.String |
toString()
|
protected void |
validate()
Checks the attributes to see if there are any problems. |
| 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, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, getVersionId, insert, parseAtom, parseAtom, parseAtom, readFeed, readFeed, setCanPost, setEntries, setEtag, setItemsPerPage, setKind, 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, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, 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 |
|---|
public DataFeed()
public DataFeed(BaseFeed<?,?> sourceFeed)
BaseFeed instance.
sourceFeed - source feed| Method Detail |
|---|
public void declareExtensions(ExtensionProfile extProfile)
BaseFeedThe implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.
declareExtensions in interface Kind.AdaptordeclareExtensions in class BaseFeed<DataFeed,DataEntry>extProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public Aggregates getAggregates()
public void setAggregates(Aggregates aggregates)
aggregates - aggregates or null to resetpublic boolean hasAggregates()
public java.util.List<DataSource> getDataSources()
public void addDataSource(DataSource dataSource)
dataSource - data sourcepublic boolean hasDataSources()
public EndDate getEndDate()
public void setEndDate(EndDate endDate)
endDate - end date or null to resetpublic boolean hasEndDate()
public StartDate getStartDate()
public void setStartDate(StartDate startDate)
startDate - start date or null to resetpublic boolean hasStartDate()
protected void validate()
AbstractExtension
validate in class AbstractExtensionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||