|
|||||||||
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.BaseEntry<E>
com.google.gdata.data.webmastertools.SitemapsEntry<SitemapsRegularEntry>
com.google.gdata.data.webmastertools.SitemapsRegularEntry
public class 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 |
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, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getRights, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setPubControl, setPublished, setRights, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
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, toString, wait, wait, wait |
Constructor Detail |
---|
public SitemapsRegularEntry()
public SitemapsRegularEntry(BaseEntry<?> sourceEntry)
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class SitemapsEntry<SitemapsRegularEntry>
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public void setSitemapType(java.lang.String value)
public java.lang.String getSitemapType()
protected void validate() throws java.lang.IllegalStateException
validate
in class AbstractExtension
java.lang.IllegalStateException
- if any problems are found with the
attributes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |