Package org.passay
Enum PolishSequenceData
- java.lang.Object
-
- java.lang.Enum<PolishSequenceData>
-
- org.passay.PolishSequenceData
-
- All Implemented Interfaces:
Serializable
,Comparable<PolishSequenceData>
,SequenceData
public enum PolishSequenceData extends Enum<PolishSequenceData> implements SequenceData
Polish character sequences.- Author:
- Middleware Services + Wojciech Buczko
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Alphabetical
Alphabetical sequence.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
Return the error code used for message resolution.CharacterSequence[]
getSequences()
static PolishSequenceData
valueOf(String name)
Returns the enum constant of this type with the specified name.static PolishSequenceData[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Alphabetical
public static final PolishSequenceData Alphabetical
Alphabetical sequence.
-
-
Method Detail
-
values
public static PolishSequenceData[] 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 (PolishSequenceData c : PolishSequenceData.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolishSequenceData 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:SequenceData
Return the error code used for message resolution.- Specified by:
getErrorCode
in interfaceSequenceData
- Returns:
- error code
-
getSequences
public CharacterSequence[] getSequences()
- Specified by:
getSequences
in interfaceSequenceData
- Returns:
- one or more illegal character sequences.
-
-