Google Data APIs Client Library (1.41.1)
com.google.gdata.data.webmastertools
Class KeywordsFeed
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.Source
com.google.gdata.data.BaseFeed<KeywordsFeed,KeywordEntry>
com.google.gdata.data.webmastertools.KeywordsFeed
- All Implemented Interfaces:
- Extension, IAtom, IFeed, Kind.Adaptable, Kind.Adaptor
public class KeywordsFeed
- extends BaseFeed<KeywordsFeed,KeywordEntry>
Feed of keywords for a particular site.
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.ExtensionPoint |
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild |
Methods inherited from class com.google.gdata.data.AbstractExtension |
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, 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.IAtom |
addLink, getAuthors, getCategories, getId, getLink, getLinks, getTitle, getUpdated, removeLinks, removeLinks, setId, setUpdated |
KeywordsFeed
public KeywordsFeed()
- Default mutable constructor.
KeywordsFeed
public KeywordsFeed(BaseFeed<?,?> sourceFeed)
- Constructs a new instance by doing a shallow copy of data from an existing
BaseFeed
instance.
- Parameters:
sourceFeed
- source feed
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 BaseFeed<KeywordsFeed,KeywordEntry>
- Parameters:
extProfile
- the ExtensionProfile to initialize.- See Also:
ExtensionProfile.addDeclarations(Kind.Adaptor)
getKeywords
public java.util.List<Keyword> getKeywords()
- Returns the keywords.
- Returns:
- keywords
addKeyword
public void addKeyword(Keyword keyword)
- Adds a new keyword.
- Parameters:
keyword
- keyword
hasKeywords
public boolean hasKeywords()
- Returns whether it has the keywords.
- Returns:
- whether it has the keywords
validate
protected void validate()
- Description copied from class:
AbstractExtension
- Checks the attributes to see if there are any problems. Default
implementation does nothing, though generally this is discouraged unless
there really are no restrictions.
- Overrides:
validate
in class AbstractExtension
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object