edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector
Enum LdapDataConnector.SEARCH_SCOPE

java.lang.Object
  extended by java.lang.Enum<LdapDataConnector.SEARCH_SCOPE>
      extended by edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.LdapDataConnector.SEARCH_SCOPE
All Implemented Interfaces:
Serializable, Comparable<LdapDataConnector.SEARCH_SCOPE>
Enclosing class:
LdapDataConnector

public static enum LdapDataConnector.SEARCH_SCOPE
extends Enum<LdapDataConnector.SEARCH_SCOPE>

Search scope values.


Enum Constant Summary
OBJECT
          Object level search scope.
ONELEVEL
          One level search scope.
SUBTREE
          Subtree search scope.
 
Method Summary
static LdapDataConnector.SEARCH_SCOPE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LdapDataConnector.SEARCH_SCOPE[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OBJECT

public static final LdapDataConnector.SEARCH_SCOPE OBJECT
Object level search scope.


ONELEVEL

public static final LdapDataConnector.SEARCH_SCOPE ONELEVEL
One level search scope.


SUBTREE

public static final LdapDataConnector.SEARCH_SCOPE SUBTREE
Subtree search scope.

Method Detail

values

public static final LdapDataConnector.SEARCH_SCOPE[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(LdapDataConnector.SEARCH_SCOPE c : LdapDataConnector.SEARCH_SCOPE.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static LdapDataConnector.SEARCH_SCOPE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2006-2009 Internet2. All Rights Reserved.