# Uses of Class crawlercommons.sitemaps.extension.ExtensionMetadata (Crawler-commons 1.2 API)
Date: 2021-10-08

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

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

### Uses of ExtensionMetadata in crawlercommons.sitemaps

Methods in crawlercommons.sitemaps that return ExtensionMetadata
`ExtensionMetadata[]` SiteMapURL.`getAttributesForExtension(Extension extension)` Get attributes of a specific sitemap extension

Methods in crawlercommons.sitemaps with parameters of type ExtensionMetadata
`void` SiteMapURL.`addAttributesForExtension(Extension extension, ExtensionMetadata[] attributes)` Add attributes of a specific sitemap extension

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

Subclasses of ExtensionMetadata in crawlercommons.sitemaps.extension
`class` `ImageAttributes` Data model for Google extension to the sitemap protocol regarding images indexing, as per http://www.google.com/schemas/sitemap-image/1.1
`class` `LinkAttributes` Data model for Google extension to the sitemap protocol regarding alternate links indexing.
`class` `MobileAttributes` Google mobile sitemap attributes, see http://www.google.de/schemas/sitemap-mobile/1.0/ and https://www.google.com/schemas/sitemap-mobile/1.0/sitemap-mobile.xsd: Mobile sitemaps just contain an empty "mobile" tag to identify a URL as having mobile content.
`class` `NewsAttributes` Data model for Google's extension to the sitemap protocol regarding news indexing, as per http ://www.google.com/schemas/sitemap-news/0.9.
`class` `VideoAttributes` Data model for Google extension to the sitemap protocol regarding images indexing, as per http://www.google.com/schemas/sitemap-video/1.1

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

Fields in crawlercommons.sitemaps.sax.extension with type parameters of type ExtensionMetadata
`protected List<ExtensionMetadata>` ExtensionHandler.`attributes`

Methods in crawlercommons.sitemaps.sax.extension that return ExtensionMetadata
`ExtensionMetadata[]` VideoHandler.`getAttributes()`
`ExtensionMetadata[]` NewsHandler.`getAttributes()`
`ExtensionMetadata[]` ImageHandler.`getAttributes()`
`ExtensionMetadata[]` ExtensionHandler.`getAttributes()`
`ExtensionMetadata[]` MobileHandler.`getAttributes()`