com.redfin.sitemapgenerator
Class SitemapValidator

java.lang.Object
  extended by com.redfin.sitemapgenerator.SitemapValidator

public class SitemapValidator
extends java.lang.Object

Validates sitemaps and sitemap indexes

Author:
Dan Fabulich

Constructor Summary
SitemapValidator()
           
 
Method Summary
static void validateSitemapIndex(java.io.File sitemap)
          Validates a sitemap index file
static void validateWebSitemap(java.io.File sitemap)
          Validates an ordinary web sitemap file (NOT a Google-specific sitemap)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapValidator

public SitemapValidator()
Method Detail

validateWebSitemap

public static void validateWebSitemap(java.io.File sitemap)
                               throws org.xml.sax.SAXException
Validates an ordinary web sitemap file (NOT a Google-specific sitemap)

Throws:
org.xml.sax.SAXException

validateSitemapIndex

public static void validateSitemapIndex(java.io.File sitemap)
                                 throws org.xml.sax.SAXException
Validates a sitemap index file

Throws:
org.xml.sax.SAXException


Copyright © 2009. All Rights Reserved.