Google Data APIs Client Library (1.41.1)



com.google.gdata.data.webmastertools
Class SitemapsMobileEntry

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<SitemapsMobileEntry>
                  extended by com.google.gdata.data.webmastertools.SitemapsMobileEntry
All Implemented Interfaces:
Extension, IAtom, IEntry, Kind.Adaptable, Kind.Adaptor

public class SitemapsMobileEntry
extends SitemapsEntry<SitemapsMobileEntry>

This represents a single Mobile sitemap entry in a list of sitemaps. setMarkupLanguage(java.lang.String) must be called to set the markup language.


Nested Class Summary
static class SitemapsMobileEntry.MarkupLanguage
          Represents a single node.
 
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
SitemapsMobileEntry()
          Constructs a new SitemapsMobileEntry instance
SitemapsMobileEntry(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 SitemapsMobileEntry.
 java.lang.String getMarkupLanguage()
          Returns mark-up language for mobile sitemap.
 void setMarkupLanguage(java.lang.String value)
          Set mark-up language for mobile sitemap.
protected  void validate()
          We validate that markup language 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

SitemapsMobileEntry

public SitemapsMobileEntry()
Constructs a new SitemapsMobileEntry instance


SitemapsMobileEntry

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

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

setMarkupLanguage

public void setMarkupLanguage(java.lang.String value)
Set mark-up language for mobile sitemap.


getMarkupLanguage

public java.lang.String getMarkupLanguage()
Returns mark-up language for mobile sitemap.


validate

protected void validate()
                 throws java.lang.IllegalStateException
We validate that markup language is set.

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