public class

SitemapMobile

extends ExtensionPoint
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.webmastertools.SitemapMobile

Class Overview

Represents list of available markup languages for mobile sitemap. The idea is that this class lists all the available options for a given site and user picks one of the options when submitting mobile sitemap. Example:

    
        ...
        
            HTML
            WAP
        
    
  

Summary

Nested Classes
class SitemapMobile.Handler parser. 
Constants
String SITEMAP_MARKUP_LANG
String SITEMAP_MOBILE
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
SitemapMobile()
Public Methods
void addMarkupLanguage(String markupLanguage)
Add another language to the markup language list.
void generate(XmlWriter writer, ExtensionProfile profile)
Generates an XML representation for the extension.
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.
Collection<String> getMarkupLanguages()
Get all the markup languages.
[Expand]
Inherited Methods
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

Constants

private static final String SITEMAP_MARKUP_LANG

Constant Value: "markup-language"

public static final String SITEMAP_MOBILE

Constant Value: "sitemap-mobile"

Public Constructors

public SitemapMobile ()

Public Methods

public void addMarkupLanguage (String markupLanguage)

Add another language to the markup language list.

Parameters
markupLanguage

public void generate (XmlWriter writer, ExtensionProfile profile)

Generates an XML representation for the extension.

Parameters
writer XML writer
profile Extension profile
Throws
IOException

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler

public Collection<String> getMarkupLanguages ()

Get all the markup languages.