public class

SitemapsFeed

extends BaseFeed<F extends BaseFeed, E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.Source
         ↳ com.google.gdata.data.BaseFeed<F extends com.google.gdata.data.BaseFeed, E extends com.google.gdata.data.BaseEntry>
           ↳ com.google.gdata.data.webmastertools.SitemapsFeed

Class Overview

The SitemapsFeed class customizes the generic BaseFeed class to define a feed of sitemaps that Webmaster Tools user has for a given site. It also lists available options for News and Mobile sitemap at the feed level. User is supposed to pick one of the options when submitting Mobile or News sitemap. Example:

     
       ...
       
       
         HTML
         WAP
       
       
         Value1
         Value2
         Value3
       
       ..
       ...
     
   

Summary

Fields
private static final Category CATEGORY Kind category used to label feed.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseFeed
From class com.google.gdata.data.Source
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
SitemapsFeed()
Constructs a new SitemapsFeed instance that is parameterized to contain SitemapsEntry instances.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.

The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.

SitemapMobile getSitemapMobile()
Sets the mobile sitemap options.
SitemapNews getSitemapNews()
Sets the News sitemap options.
void setSitemapMobile(SitemapMobile sitemap)
Sets the mobile sitemap options.
void setSitemapNews(SitemapNews sitemap)
Sets the News sitemap options.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseFeed
From class com.google.gdata.data.Source
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.IFeed
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Fields

private static final Category CATEGORY

Kind category used to label feed.

Public Constructors

public SitemapsFeed ()

Constructs a new SitemapsFeed instance that is parameterized to contain SitemapsEntry instances.

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

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.

Parameters
extProfile The ExtensionProfile to initialize.

public SitemapMobile getSitemapMobile ()

Sets the mobile sitemap options. The user is supposed to pick one of the options specified in this sitemap when submitting a mobile sitemap.

public SitemapNews getSitemapNews ()

Sets the News sitemap options. The user is supposed to pick one of the options specified in this sitemap when submitting a News sitemap.

public void setSitemapMobile (SitemapMobile sitemap)

Sets the mobile sitemap options. The user is supposed to pick one of the options specified in this sitemap when submitting a mobile sitemap.

Parameters
sitemap

public void setSitemapNews (SitemapNews sitemap)

Sets the News sitemap options. The user is supposed to pick one of the options specified in this sitemap when submitting a News sitemap.

Parameters
sitemap