public enum SearchScope extends Enum<SearchScope>
Enum Constant and Description |
---|
OBJECT
Object
|
ONE_LEVEL
One Level
|
SUB_TREE
Sub Tree
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchScope OBJECT
public static final SearchScope ONE_LEVEL
public static final SearchScope SUB_TREE
public static SearchScope[] values()
for (SearchScope c : SearchScope.values()) System.out.println(c);
public static SearchScope 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 int getValue()
Copyright © 2010–2018. All rights reserved.