public static enum LdapConstants.Scope extends java.lang.Enum<LdapConstants.Scope>
Enum Constant and Description |
---|
ONE
One level search.
|
SUB
Subtree search.
|
Modifier and Type | Method and Description |
---|---|
static LdapConstants.Scope |
defaultValue()
Returns default value for scope.
|
int |
getConstant()
Returns the matching constant field from SearchControls
|
static LdapConstants.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LdapConstants.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapConstants.Scope SUB
public static final LdapConstants.Scope ONE
public static LdapConstants.Scope[] values()
for (LdapConstants.Scope c : LdapConstants.Scope.values()) System.out.println(c);
public static LdapConstants.Scope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static LdapConstants.Scope defaultValue()
public int getConstant()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.