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.
Please note that the
value of this tag is considered a hint and not a command. Even though
search engine crawlers may consider this information when making
decisions, they may crawl pages marked HOURLY less frequently than
that, and they may crawl pages marked YEARLY more frequently than
that. Crawlers may periodically crawl pages marked NEVER so that
they can handle unexpected changes to those pages.
| 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.