- java.lang.Object
-
- java.lang.Enum<SitemapUrl.ChangeFrequency>
-
- org.omnifaces.component.output.SitemapUrl.ChangeFrequency
-
- All Implemented Interfaces:
Serializable
,Comparable<SitemapUrl.ChangeFrequency>
- Enclosing class:
- SitemapUrl
public static enum SitemapUrl.ChangeFrequency extends Enum<SitemapUrl.ChangeFrequency>
The available values of the "changefreq" element of the sitemap URL.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SitemapUrl.ChangeFrequency
valueOf(String name)
Returns the enum constant of this type with the specified name.static SitemapUrl.ChangeFrequency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
always
public static final SitemapUrl.ChangeFrequency always
Always changed.
-
hourly
public static final SitemapUrl.ChangeFrequency hourly
Hourly changed.
-
daily
public static final SitemapUrl.ChangeFrequency daily
Daily changed.
-
weekly
public static final SitemapUrl.ChangeFrequency weekly
Weekly changed.
-
monthly
public static final SitemapUrl.ChangeFrequency monthly
Monthly changed.
-
yearly
public static final SitemapUrl.ChangeFrequency yearly
Yearly changed.
-
never
public static final SitemapUrl.ChangeFrequency never
Never changed.
-
-
Method Detail
-
values
public static SitemapUrl.ChangeFrequency[] 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 (SitemapUrl.ChangeFrequency c : SitemapUrl.ChangeFrequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SitemapUrl.ChangeFrequency 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 nameNullPointerException
- if the argument is null
-
-