# Uses of Class crawlercommons.sitemaps.SiteMap (Crawler-commons 0.7 API)
Date: 2016-11-21

## Uses of Class
crawlercommons.sitemaps.SiteMap

Packages that use SiteMap
crawlercommons.sitemaps: Sitemaps package provides all classes relevant to focused sitemap parsing, url definition and processing.

### Uses of SiteMap in crawlercommons.sitemaps

Methods in crawlercommons.sitemaps that return SiteMap
`protected SiteMap` SiteMapParser.`parseSyndicationFormat(URL sitemapUrl, Document doc)` Parse the XML document, looking for a feed element to determine if it's an Atom doc rss to determine if it's an RSS doc.
`protected SiteMap` SiteMapParser.`parseXmlSitemap(URL sitemapUrl, Document doc)` Parse XML that contains a valid Sitemap.
`protected SiteMap` SiteMapParser.`processText(String sitemapUrl, byte[] content)` Process a text-based Sitemap.

Methods in crawlercommons.sitemaps with parameters of type SiteMap
`protected void` SiteMapParser.`addUrlIntoSitemap(String urlStr, SiteMap siteMap, String lastMod, String changeFreq, String priority, int urlIndex)` Adds the given URL to the given sitemap while showing the relevant logs
`protected void` SiteMapParser.`parseAtom(SiteMap sitemap, Element elem, Document doc)` Parse the XML document which is assumed to be in Atom format.
`protected void` SiteMapParser.`parseRSS(SiteMap sitemap, Document doc)` Parse XML document which is assumed to be in RSS format.