# Uses of Class crawlercommons.sitemaps.extension.Extension (Crawler-commons 1.3 API)

## Uses of Class
crawlercommons.sitemaps.extension.Extension

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

### Uses of Extension in crawlercommons.sitemaps

Fields in crawlercommons.sitemaps with type parameters of type Extension
`protected Map<String,​Extension>` SiteMapParser.`extensionNamespaces` Map of sitemap extension namespaces required to find the right extension handler.
`static Map<Extension,​List<String>>` Namespace.`SITEMAP_EXTENSION_NAMESPACES`

Methods in crawlercommons.sitemaps that return types with arguments of type Extension
`Map<Extension,​ExtensionMetadata[]>` SiteMapURL.`getAttributes()` Get attributes of sitemap extensions (news, images, videos, etc.)

Methods in crawlercommons.sitemaps with parameters of type Extension
`void` SiteMapURL.`addAttributesForExtension​(Extension extension, ExtensionMetadata[] attributes)` Add attributes of a specific sitemap extension
`void` SiteMapParser.`enableExtension​(Extension extension)` Enable a support for a sitemap extension in the parser.
`ExtensionMetadata[]` SiteMapURL.`getAttributesForExtension​(Extension extension)` Get attributes of a specific sitemap extension

### Uses of Extension in crawlercommons.sitemaps.extension

Methods in crawlercommons.sitemaps.extension that return Extension
`static Extension` Extension.`valueOf​(String name)` Returns the enum constant of this type with the specified name.
`static Extension[]` Extension.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

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

Fields in crawlercommons.sitemaps.sax with type parameters of type Extension
`protected Map<String,​Extension>` DelegatorHandler.`extensionNamespaces`

Method parameters in crawlercommons.sitemaps.sax with type arguments of type Extension
`void` DelegatorHandler.`setExtensionNamespaces​(Map<String,​Extension> extensionMap)`

### Uses of Extension in crawlercommons.sitemaps.sax.extension

Methods in crawlercommons.sitemaps.sax.extension with parameters of type Extension
`static ExtensionHandler` ExtensionHandler.`create​(Extension extension)`