com.redfin.sitemapgenerator
Class GoogleGeoSitemapUrl

java.lang.Object
  extended by com.redfin.sitemapgenerator.WebSitemapUrl
      extended by com.redfin.sitemapgenerator.GoogleGeoSitemapUrl

public class GoogleGeoSitemapUrl
extends WebSitemapUrl

One configurable Geo URL, either KML or GeoRSS. At this time, SitemapGen4j can't generate either KML or GeoRSS (sorry). To configure this class, use GoogleGeoSitemapUrl.Options

Author:
Dan Fabulich
See Also:
GoogleGeoSitemapUrl.Options, Creating Geo Sitemaps

Nested Class Summary
static class GoogleGeoSitemapUrl.Format
          The two Geo URL formats: KML and GeoRSS
static class GoogleGeoSitemapUrl.Options
          Options to configure Geo URLs
 
Constructor Summary
GoogleGeoSitemapUrl(GoogleGeoSitemapUrl.Options options)
          Configures the URL with GoogleGeoSitemapUrl.Options
GoogleGeoSitemapUrl(java.lang.String url, GoogleGeoSitemapUrl.Format format)
          Specifies a Geo URL and its format
GoogleGeoSitemapUrl(java.net.URL url, GoogleGeoSitemapUrl.Format format)
          Specifies a Geo URL and its format
 
Method Summary
 GoogleGeoSitemapUrl.Format getFormat()
          Retrieves the URL GoogleGeoSitemapUrl.Format
 
Methods inherited from class com.redfin.sitemapgenerator.WebSitemapUrl
getChangeFreq, getLastMod, getPriority, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleGeoSitemapUrl

public GoogleGeoSitemapUrl(java.net.URL url,
                           GoogleGeoSitemapUrl.Format format)
Specifies a Geo URL and its format


GoogleGeoSitemapUrl

public GoogleGeoSitemapUrl(java.lang.String url,
                           GoogleGeoSitemapUrl.Format format)
                    throws java.net.MalformedURLException
Specifies a Geo URL and its format

Throws:
java.net.MalformedURLException

GoogleGeoSitemapUrl

public GoogleGeoSitemapUrl(GoogleGeoSitemapUrl.Options options)
Configures the URL with GoogleGeoSitemapUrl.Options

Method Detail

getFormat

public GoogleGeoSitemapUrl.Format getFormat()
Retrieves the URL GoogleGeoSitemapUrl.Format



Copyright © 2009. All Rights Reserved.