public static enum ContentFilter.ContextLanguage extends Enum<ContentFilter.ContextLanguage>
Enum Constant and Description |
---|
ALL
Constant to search in all sitemap
|
CURRENT
Constant to search only in the current sitemap
|
OTHERS
Constant to search in other sitemaps
|
Modifier and Type | Method and Description |
---|---|
static ContentFilter.ContextLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentFilter.ContextLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentFilter.ContextLanguage CURRENT
public static final ContentFilter.ContextLanguage ALL
public static final ContentFilter.ContextLanguage OTHERS
public static ContentFilter.ContextLanguage[] values()
for (ContentFilter.ContextLanguage c : ContentFilter.ContextLanguage.values()) System.out.println(c);
public static ContentFilter.ContextLanguage 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 null