public static enum WebContentFilter.Context extends Enum<WebContentFilter.Context>
Enum Constant and Description |
---|
CHILD_PAGES
Constant to search in child pages
|
CURRENT_SITE
Constant to search only on current site
|
OTHER_SITES
Constant to search in other sites
|
SITES
Constant to search in all sites
|
SITES_LIST
Constant to search in all sites
|
Modifier and Type | Method and Description |
---|---|
static WebContentFilter.Context |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebContentFilter.Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebContentFilter.Context CURRENT_SITE
public static final WebContentFilter.Context SITES_LIST
public static final WebContentFilter.Context SITES
public static final WebContentFilter.Context OTHER_SITES
public static final WebContentFilter.Context CHILD_PAGES
public static WebContentFilter.Context[] values()
for (WebContentFilter.Context c : WebContentFilter.Context.values()) System.out.println(c);
public static WebContentFilter.Context 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