# Uses of Class crawlercommons.sitemaps.AbstractSiteMap (Crawler-commons 0.9 API)
Date: 2017-10-27

## Uses of Class
crawlercommons.sitemaps.AbstractSiteMap

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

### Uses of AbstractSiteMap in crawlercommons.sitemaps

Subclasses of AbstractSiteMap in crawlercommons.sitemaps
`class` `SiteMap`
`class` `SiteMapIndex`

Methods in crawlercommons.sitemaps that return AbstractSiteMap
`AbstractSiteMap` SiteMapIndex.`getSitemap(URL url)` Returns the Sitemap that has the given URL.
`AbstractSiteMap` SiteMapIndex.`nextUnprocessedSitemap()`
`AbstractSiteMap` SiteMapParser.`parseSiteMap(byte[] content, URL url)` Parse a sitemap, given the content bytes and the URL.
`AbstractSiteMap` SiteMapParser.`parseSiteMap(String contentType, byte[] content, AbstractSiteMap sitemap)` Returns a processed copy of an unprocessed sitemap object, i.e.
`AbstractSiteMap` SiteMapParser.`parseSiteMap(String contentType, byte[] content, URL url)` Parse a sitemap, given the MIME type, the content bytes, and the URL.
`AbstractSiteMap` SiteMapParser.`parseSiteMap(URL onlineSitemapUrl)` Returns a SiteMap or SiteMapIndex given an online sitemap URL Please note that this method is a static method which goes online and fetches the sitemap then parses it This method is a convenience method for a user who has a sitemap URL and wants a "Keep it simple" way to parse it.
`protected AbstractSiteMap` SiteMapParser.`processGzippedXML(URL url, byte[] response)` Decompress the gzipped content and process the resulting XML Sitemap.
`protected AbstractSiteMap` SiteMapParser.`processXml(URL sitemapUrl, byte[] xmlContent)` Parse the given XML content.
`protected AbstractSiteMap` SiteMapParser.`processXml(URL sitemapUrl, InputSource is)` Parse the given XML content.

Methods in crawlercommons.sitemaps that return types with arguments of type AbstractSiteMap
`Collection<AbstractSiteMap>` SiteMapIndex.`getSitemaps()`

Methods in crawlercommons.sitemaps with parameters of type AbstractSiteMap
`void` SiteMapIndex.`addSitemap(AbstractSiteMap sitemap)` Add this Sitemap to the list of Sitemaps,
`AbstractSiteMap` SiteMapParser.`parseSiteMap(String contentType, byte[] content, AbstractSiteMap sitemap)` Returns a processed copy of an unprocessed sitemap object, i.e.

### Uses of AbstractSiteMap in crawlercommons.sitemaps.sax

Methods in crawlercommons.sitemaps.sax that return AbstractSiteMap
`AbstractSiteMap` DelegatorHandler.`getSiteMap()`