Package eu.bandm.tools.d2d2.base
Enum Class Text2Udom.parsingState
- All Implemented Interfaces:
Serializable
,Comparable<Text2Udom.parsingState>
,java.lang.constant.Constable
- Enclosing class:
- Text2Udom
Realizes the parsing state on lower=character level.
Neither this type nor the division into separate parsing methods is
really necessary, but makes the code more readable.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionwhile consuming character data, will be ended by next command char.after a command lead-in character has been consumedafter an explicit close, or at the beginning of parsing.error recovery.verbatim mode, will NOT be ended by next command char, only by explict end command and all known direct child elements. -
Method Summary
Modifier and TypeMethodDescriptionstatic Text2Udom.parsingState
Returns the enum constant of this class with the specified name.static Text2Udom.parsingState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
nothing_open
after an explicit close, or at the beginning of parsing. -
look_for_tag
after a command lead-in character has been consumed -
consume_characters
while consuming character data, will be ended by next command char. -
verbatim
verbatim mode, will NOT be ended by next command char, only by explict end command and all known direct child elements. -
skip_for_command
error recovery.
-
-
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
-