Package org.passay.data
Enum CyrillicModernCharacterData
- All Implemented Interfaces:
Serializable,Comparable<CyrillicModernCharacterData>,CharacterData
public enum CyrillicModernCharacterData
extends Enum<CyrillicModernCharacterData>
implements CharacterData
Cyrillic character data.
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCyrillicModernCharacterData(String code, String charString) Creates a new cyrillic character data. -
Method Summary
Modifier and TypeMethodDescriptionReturns the characters.Return the error code used for message resolution.static CyrillicModernCharacterDataReturns the enum constant of this type with the specified name.static CyrillicModernCharacterData[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LowerCase
Lower case characters. -
UpperCase
Upper case characters.
-
-
Field Details
-
errorCode
Error code. -
characters
Characters.
-
-
Constructor Details
-
CyrillicModernCharacterData
Creates a new cyrillic character data.- Parameters:
code- Error codecharString- Characters as string
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Description copied from interface:CharacterDataReturn the error code used for message resolution.- Specified by:
getErrorCodein interfaceCharacterData- Returns:
- error code
-
getCharacters
Description copied from interface:CharacterDataReturns the characters.- Specified by:
getCharactersin interfaceCharacterData- Returns:
- characters
-