SitemapGen4j is a Java library to generate XML
sitemaps. It supports gzipped output, sitemap
validation, and sitemap index generation. It can
also generate Google-specific sitemaps, such as
Mobile sitemaps, Geo sitemaps, Code Search
sitemaps, Google News sitemaps, and Video
sitemaps.