org.apache.directory.shared.ldap.schema
Enum PrepareString.StringType

java.lang.Object
  extended by java.lang.Enum<PrepareString.StringType>
      extended by org.apache.directory.shared.ldap.schema.PrepareString.StringType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PrepareString.StringType>
Enclosing class:
PrepareString

public static enum PrepareString.StringType
extends java.lang.Enum<PrepareString.StringType>

The type of String we have to normalize


Enum Constant Summary
CASE_EXACT
           
CASE_EXACT_IA5
           
CASE_IGNORE
           
CASE_IGNORE_IA5
           
CASE_IGNORE_LIST
           
DIRECTORY_STRING
           
NOT_STRING
           
NUMERIC_STRING
           
TELEPHONE_NUMBER
           
WORD
           
 
Method Summary
static PrepareString.StringType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PrepareString.StringType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_STRING

public static final PrepareString.StringType NOT_STRING

NUMERIC_STRING

public static final PrepareString.StringType NUMERIC_STRING

CASE_EXACT

public static final PrepareString.StringType CASE_EXACT

CASE_EXACT_IA5

public static final PrepareString.StringType CASE_EXACT_IA5

CASE_IGNORE_IA5

public static final PrepareString.StringType CASE_IGNORE_IA5

CASE_IGNORE_LIST

public static final PrepareString.StringType CASE_IGNORE_LIST

CASE_IGNORE

public static final PrepareString.StringType CASE_IGNORE

DIRECTORY_STRING

public static final PrepareString.StringType DIRECTORY_STRING

TELEPHONE_NUMBER

public static final PrepareString.StringType TELEPHONE_NUMBER

WORD

public static final PrepareString.StringType WORD
Method Detail

values

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

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

valueOf

public static PrepareString.StringType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.