public enum ChangeFreq extends Enum<ChangeFreq>
ALWAYS should be used to describe
documents that change each time they are accessed. The value NEVER
should be used to describe archived URLs.| Enum Constant and Description |
|---|
ALWAYS |
DAILY |
HOURLY |
MONTHLY |
NEVER |
WEEKLY |
YEARLY |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ChangeFreq |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeFreq[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeFreq ALWAYS
public static final ChangeFreq HOURLY
public static final ChangeFreq DAILY
public static final ChangeFreq WEEKLY
public static final ChangeFreq MONTHLY
public static final ChangeFreq YEARLY
public static final ChangeFreq NEVER
public static ChangeFreq[] values()
for (ChangeFreq c : ChangeFreq.values()) System.out.println(c);
public static ChangeFreq 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 String toString()
toString in class Enum<ChangeFreq>Copyright © 2015. All rights reserved.