public enum Extension extends Enum<Extension>
Enum Constant and Description |
---|
IMAGE
Google Image sitemaps, see
https://support.google.com/webmasters/answer/178636
|
LINKS
Usage of
<xhtml:links> in sitemaps to include
localized page versions/variants, see
https://support.google.com/webmasters/answer/189077 |
MOBILE
Mobile sitemaps just contain an empty "mobile" tag to identify a
URL as having mobile content, cf.
|
NEWS
Google News sitemaps, see
https://support.google.com/news/publisher-center/answer/74288
|
VIDEO
Google Video sitemaps, see
https://support.google.com/webmasters/answer/80471
|
Modifier and Type | Method and Description |
---|---|
static Extension |
valueOf(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.
|
public static final Extension NEWS
public static final Extension IMAGE
public static final Extension VIDEO
public static final Extension LINKS
<xhtml:links>
in sitemaps to include
localized page versions/variants, see
https://support.google.com/webmasters/answer/189077public static final Extension MOBILE
public static Extension[] values()
for (Extension c : Extension.values()) System.out.println(c);
public static Extension valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2021 Crawler-Commons. All rights reserved.