Package org.ldaptive.handler
Enum Class CaseChangeEntryHandler.CaseChange
java.lang.Object
java.lang.Enum<CaseChangeEntryHandler.CaseChange>
org.ldaptive.handler.CaseChangeEntryHandler.CaseChange
- All Implemented Interfaces:
Serializable
,Comparable<CaseChangeEntryHandler.CaseChange>
,Constable
- Enclosing class:
CaseChangeEntryHandler
public static enum CaseChangeEntryHandler.CaseChange
extends Enum<CaseChangeEntryHandler.CaseChange>
Enum to define the type of case change.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
perform
(CaseChangeEntryHandler.CaseChange cc, String string) This changes the supplied string based on the supplied case change.Returns the enum constant of this class with the specified name.static CaseChangeEntryHandler.CaseChange[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
no case change. -
LOWER
lower case. -
UPPER
upper case.
-
-
Constructor Details
-
CaseChange
private CaseChange()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
perform
This changes the supplied string based on the supplied case change.- Parameters:
cc
- case change to performstring
- to modify- Returns:
- string that has been changed
-