SitemapGen4j is a library to generate XML sitemaps in Java.