- java.lang.Object
-
- java.lang.Enum<CharacterClass>
-
- io.xlate.edi.internal.stream.tokenization.CharacterClass
-
- All Implemented Interfaces:
Serializable,Comparable<CharacterClass>
public enum CharacterClass extends Enum<CharacterClass>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHANUMERICCOMPONENT_DELIMITERCONTROLELEMENT_DELIMITERELEMENT_REPEATERINVALIDLATIN_ALATIN_BLATIN_ELATIN_ILATIN_NLATIN_SLATIN_ULATIN_ZOTHERRELEASE_CHARACTERSEGMENT_DELIMITERSPACEWHITESPACE
-
Field Summary
Fields Modifier and Type Field Description protected intcode
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CharacterClassvalueOf(String name)Returns the enum constant of this type with the specified name.static CharacterClass[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPACE
public static final CharacterClass SPACE
-
LATIN_A
public static final CharacterClass LATIN_A
-
LATIN_B
public static final CharacterClass LATIN_B
-
LATIN_E
public static final CharacterClass LATIN_E
-
LATIN_I
public static final CharacterClass LATIN_I
-
LATIN_N
public static final CharacterClass LATIN_N
-
LATIN_S
public static final CharacterClass LATIN_S
-
LATIN_U
public static final CharacterClass LATIN_U
-
LATIN_Z
public static final CharacterClass LATIN_Z
-
ALPHANUMERIC
public static final CharacterClass ALPHANUMERIC
-
SEGMENT_DELIMITER
public static final CharacterClass SEGMENT_DELIMITER
-
ELEMENT_DELIMITER
public static final CharacterClass ELEMENT_DELIMITER
-
COMPONENT_DELIMITER
public static final CharacterClass COMPONENT_DELIMITER
-
ELEMENT_REPEATER
public static final CharacterClass ELEMENT_REPEATER
-
RELEASE_CHARACTER
public static final CharacterClass RELEASE_CHARACTER
-
WHITESPACE
public static final CharacterClass WHITESPACE
-
CONTROL
public static final CharacterClass CONTROL
-
OTHER
public static final CharacterClass OTHER
-
INVALID
public static final CharacterClass INVALID
-
-
Method Detail
-
values
public static CharacterClass[] 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 (CharacterClass c : CharacterClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CharacterClass 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
-
-