Package org.passay
Enum CyrillicCharacterData
- java.lang.Object
-
- java.lang.Enum<CyrillicCharacterData>
-
- org.passay.CyrillicCharacterData
-
- All Implemented Interfaces:
Serializable
,Comparable<CyrillicCharacterData>
,CharacterData
public enum CyrillicCharacterData extends Enum<CyrillicCharacterData> implements CharacterData
Cyrillic character data.- Author:
- Middleware Services
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCharacters()
Returns the characters.String
getErrorCode()
Return the error code used for message resolution.static CyrillicCharacterData
valueOf(String name)
Returns the enum constant of this type with the specified name.static CyrillicCharacterData[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LowerCase
public static final CyrillicCharacterData LowerCase
Lower case characters.
-
UpperCase
public static final CyrillicCharacterData UpperCase
Upper case characters.
-
-
Method Detail
-
values
public static CyrillicCharacterData[] 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 (CyrillicCharacterData c : CyrillicCharacterData.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CyrillicCharacterData 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 nameNullPointerException
- if the argument is null
-
getErrorCode
public String getErrorCode()
Description copied from interface:CharacterData
Return the error code used for message resolution.- Specified by:
getErrorCode
in interfaceCharacterData
- Returns:
- error code
-
getCharacters
public String getCharacters()
Description copied from interface:CharacterData
Returns the characters.- Specified by:
getCharacters
in interfaceCharacterData
- Returns:
- characters
-
-