public class

SitemapsNewsEntry

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.SitemapsNewsEntry

Class Overview

This represents a single News sitemap entry in a list of sitemaps. setPublicationLabel(String) must be called to set the News sitemap publication label.

Summary

Nested Classes
class SitemapsNewsEntry.PublicationLabel Represents node, that is a publication label for News sitemap. 
Constants
String NEWS_PUBLICATION_LABEL
[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
SitemapsNewsEntry()
Constructs a new SitemapsNewsEntry instance
SitemapsNewsEntry(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 SitemapsNewsEntry.
String getPublicationLabel()
Returns publication label for News sitemap.
void setPublicationLabel(String value)
Set publication label for News sitemap.
Protected Methods
void validate()
We validate that publication label 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 NEWS_PUBLICATION_LABEL

Constant Value: "sitemap-news-publication-label"

Fields

private static final Category CATEGORY

Kind category used to label feed.

Public Constructors

public SitemapsNewsEntry ()

Constructs a new SitemapsNewsEntry instance

public SitemapsNewsEntry (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 SitemapsNewsEntry.

Parameters
extProfile The ExtensionProfile to initialize.

public String getPublicationLabel ()

Returns publication label for News sitemap.

public void setPublicationLabel (String value)

Set publication label for News sitemap.

Parameters
value

Protected Methods

protected void validate ()

We validate that publication label is set.

Throws
IllegalStateException