public static enum LdapConfig.SearchScope extends Enum<LdapConfig.SearchScope>
SearchControls.| Enum Constant and Description |
|---|
OBJECT
object level search.
|
ONELEVEL
one level search.
|
SUBTREE
subtree search.
|
| Modifier and Type | Method and Description |
|---|---|
static LdapConfig.SearchScope |
parseSearchScope(int i)
Method to convert a JNDI constant value to an enum.
|
int |
scope()
Returns the search scope integer.
|
static LdapConfig.SearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LdapConfig.SearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapConfig.SearchScope OBJECT
public static final LdapConfig.SearchScope ONELEVEL
public static final LdapConfig.SearchScope SUBTREE
public static LdapConfig.SearchScope[] values()
for (LdapConfig.SearchScope c : LdapConfig.SearchScope.values()) System.out.println(c);
public static LdapConfig.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 scope()
intpublic static LdapConfig.SearchScope parseSearchScope(int i)
i - search scopeCopyright © 2014. All rights reserved.