Enum Extension
- java.lang.Object
- 
- java.lang.Enum<Extension>
- 
- crawlercommons.sitemaps.extension.Extension
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Extension>
 
 public enum Extension extends Enum<Extension> Sitemap extensions supported by the parser.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description IMAGEGoogle Image sitemaps, see https://support.google.com/webmasters/answer/178636LINKSUsage of<xhtml:links>in sitemaps to include localized page versions/variants, see https://support.google.com/webmasters/answer/189077MOBILEMobile sitemaps just contain an empty "mobile" tag to identify a URL as having mobile content, cf.NEWSGoogle News sitemaps, see https://support.google.com/news/publisher-center/answer/74288VIDEOGoogle Video sitemaps, see https://support.google.com/webmasters/answer/80471
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtensionvalueOf(String name)Returns the enum constant of this type with the specified name.static Extension[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NEWSpublic static final Extension NEWS Google News sitemaps, see https://support.google.com/news/publisher-center/answer/74288
 - 
IMAGEpublic static final Extension IMAGE Google Image sitemaps, see https://support.google.com/webmasters/answer/178636
 - 
VIDEOpublic static final Extension VIDEO Google Video sitemaps, see https://support.google.com/webmasters/answer/80471
 - 
LINKSpublic static final Extension LINKS Usage of<xhtml:links>in sitemaps to include localized page versions/variants, see https://support.google.com/webmasters/answer/189077
 - 
MOBILEpublic static final Extension MOBILE Mobile sitemaps just contain an empty "mobile" tag to identify a URL as having mobile content, cf. http://www.google.com/schemas/sitemap-mobile/1.0
 
- 
 - 
Method Detail- 
valuespublic static Extension[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Extension c : Extension.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Extension valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-