Class SitemapService

java.lang.Object
org.ctan.site.services.SitemapService

public class SitemapService extends Object
The class Sitemap3Resource contains the controller for the version resource.
  • Constructor Details

    • SitemapService

      public SitemapService()
  • Method Details

    • asJson

      public SitemapService.SitemapList asJson()
      The method asJson provides means to create a sitemap as object tree.
      Returns:
      the sitemap
    • asXml

      public String asXml()
      The method asXml provides means to create a sitemap as XML-formatted String.
      Returns:
      the XML
    • asXml

      public String asXml(String idx)
      The method asXml provides means to create a sitemap as XML-formatted String.
      Parameters:
      idx - the index
      Returns:
      the urlset