Google Data APIs Client Library (1.41.1)



com.google.gdata.data.webmastertools
Class SitemapsRegularEntry

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ExtensionPoint
          extended by com.google.gdata.data.BaseEntry<E>
              extended by com.google.gdata.data.webmastertools.SitemapsEntry<SitemapsRegularEntry>
                  extended by com.google.gdata.data.webmastertools.SitemapsRegularEntry
All Implemented Interfaces:
Extension, IAtom, IEntry, Kind.Adaptable, Kind.Adaptor

public class SitemapsRegularEntry
extends SitemapsEntry<SitemapsRegularEntry>

This represents a single regular sitemap entry in a list of sitemaps. It inherits common sitemap entry properties and adds a sitemap type property that classifies the sitemap.


Nested Class Summary
static class SitemapsRegularEntry.SitemapType
          Represents a single node that defines sitemap type.
 
Nested classes/interfaces inherited from class com.google.gdata.data.webmastertools.SitemapsEntry
SitemapsEntry.LastDownloaded, SitemapsEntry.SitemapStatus, SitemapsEntry.UrlCount
 
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry
BaseEntry.AtomHandler, BaseEntry.EntryState
 
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.BaseEntry
state
 
Fields inherited from class com.google.gdata.data.ExtensionPoint
xmlBlob
 
Fields inherited from class com.google.gdata.data.AbstractExtension
localName, namespace
 
Constructor Summary
SitemapsRegularEntry()
          Constructs a new SitemapsRegularEntry instance
SitemapsRegularEntry(BaseEntry<?> sourceEntry)
          Constructs a new entry by doing a copy from another BaseEntry instance.
 
Method Summary
 void declareExtensions(ExtensionProfile extProfile)
          Initializes an ExtensionProfile based upon the extensions expected by a SitemapsRegularEntry.
 java.lang.String getSitemapType()
          Gets sitemap type of a regular sitemap.
 void setSitemapType(java.lang.String value)
          Sets sitemap type for a regular sitemap.
protected  void validate()
          We validate that sitemap type is set.
 
Methods inherited from class com.google.gdata.data.webmastertools.SitemapsEntry
getSitemapDownloadTime, getSitemapStatus, getSitemapUrlCount, setSitemapDownloadTime, setSitemapStatus, setSitemapUrlCount
 
Methods inherited from class com.google.gdata.data.BaseEntry
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren
 
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, toString, wait, wait, wait
 

Constructor Detail

SitemapsRegularEntry

public SitemapsRegularEntry()
Constructs a new SitemapsRegularEntry instance


SitemapsRegularEntry

public SitemapsRegularEntry(BaseEntry<?> sourceEntry)
Constructs a new entry by doing a copy from another BaseEntry instance.

Method Detail

declareExtensions

public void declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by a SitemapsRegularEntry.

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

setSitemapType

public void setSitemapType(java.lang.String value)
Sets sitemap type for a regular sitemap.


getSitemapType

public java.lang.String getSitemapType()
Gets sitemap type of a regular sitemap.


validate

protected void validate()
                 throws java.lang.IllegalStateException
We validate that sitemap type is set.

Overrides:
validate in class AbstractExtension
Throws:
java.lang.IllegalStateException - if any problems are found with the attributes