Enum Class ParsingEnumKind
- All Implemented Interfaces:
Serializable,Comparable<ParsingEnumKind>,Constable
Kinds of enumerations in parsing.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateParsingEnumKind(String... marker) Creates an enumeration marker. -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns a match of this enum kind withintext.static ParsingEnumKindReturns the enum constant of this class with the specified name.static ParsingEnumKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENUM
-
ENUM_ENTRIES
-
VALUE_LIST2
-
VALUE_LIST
-
IRDIS
-
-
Field Details
-
marker
-
-
Constructor Details
-
ParsingEnumKind
Creates an enumeration marker.- Parameters:
marker- the marker
-
-
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
-
getMatch
Returns a match of this enum kind withintext.- Parameters:
text- the text to matchatBeginning- whether the match shall be at the beginning or withintext- Returns:
- the match (0: text before, 1: text after) or null for no match
-