public enum SitemapChangeFrequency extends Enum<SitemapChangeFrequency>
Enum Constant and Description |
---|
ALWAYS |
DAILY |
HOURLY |
MONTHLY |
NEVER |
WEEKLY |
YEARLY |
Modifier and Type | Method and Description |
---|---|
static SitemapChangeFrequency |
getChangeFrequency(String frequency)
Gets the sitemap change frequency matching the supplied string.
|
static SitemapChangeFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SitemapChangeFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SitemapChangeFrequency ALWAYS
public static final SitemapChangeFrequency HOURLY
public static final SitemapChangeFrequency DAILY
public static final SitemapChangeFrequency WEEKLY
public static final SitemapChangeFrequency MONTHLY
public static final SitemapChangeFrequency YEARLY
public static final SitemapChangeFrequency NEVER
public static SitemapChangeFrequency[] values()
for (SitemapChangeFrequency c : SitemapChangeFrequency.values()) System.out.println(c);
public static SitemapChangeFrequency 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 nullpublic static SitemapChangeFrequency getChangeFrequency(String frequency)
valueOf(String)
except that it will
return null
when no matches are found.frequency
- change frequencynull
Copyright © 2009–2021 Norconex Inc.. All rights reserved.