public class

SitemapsRegularEntry

extends SitemapsEntry<E extends SitemapsEntry<E>>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.webmastertools.SitemapsEntry<E extends com.google.gdata.data.webmastertools.SitemapsEntry<E>>
           ↳ com.google.gdata.data.webmastertools.SitemapsRegularEntry

Class Overview

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.

Summary

Nested Classes
class SitemapsRegularEntry.SitemapType Represents a single node that defines sitemap type. 
Constants
String SITEMAP_TYPE
[Expand]
Inherited Constants
From class com.google.gdata.data.webmastertools.SitemapsEntry
Fields
private static final Category CATEGORY Kind category used to label feed.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
SitemapsRegularEntry()
Constructs a new SitemapsRegularEntry instance
SitemapsRegularEntry(BaseEntry<?> sourceEntry)
Constructs a new entry by doing a copy from another BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by a SitemapsRegularEntry.
String getSitemapType()
Gets sitemap type of a regular sitemap.
void setSitemapType(String value)
Sets sitemap type for a regular sitemap.
Protected Methods
void validate()
We validate that sitemap type is set.
[Expand]
Inherited Methods
From class com.google.gdata.data.webmastertools.SitemapsEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Constants

private static final String SITEMAP_TYPE

Constant Value: "sitemap-type"

Fields

private static final Category CATEGORY

Kind category used to label feed.

Public Constructors

public SitemapsRegularEntry ()

Constructs a new SitemapsRegularEntry instance

public SitemapsRegularEntry (BaseEntry<?> sourceEntry)

Constructs a new entry by doing a copy from another BaseEntry instance.

Parameters
sourceEntry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Initializes an ExtensionProfile based upon the extensions expected by a SitemapsRegularEntry.

Parameters
extProfile The ExtensionProfile to initialize.

public String getSitemapType ()

Gets sitemap type of a regular sitemap.

public void setSitemapType (String value)

Sets sitemap type for a regular sitemap.

Parameters
value

Protected Methods

protected void validate ()

We validate that sitemap type is set.

Throws
IllegalStateException