Package org.jboss.dmr.stream
Enum Class ModelEvent
- All Implemented Interfaces:
Serializable,Comparable<ModelEvent>,Constable
DMR parsing events.
- Author:
- Richard Opalka
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionParsing cursor points to DMRbig decimal.Parsing cursor points to DMRbig integer.Parsing cursor points to DMRboolean.Parsing cursor points to DMRbytes.Parsing cursor points to DMRdouble.Parsing cursor points to DMRexpression.Parsing cursor points to DMRint.Parsing cursor points to DMRlist endtoken.Parsing cursor points to DMRlist starttoken.Parsing cursor points to DMRlong.Parsing cursor points to DMRobject endtoken.Parsing cursor points to DMRobject starttoken.Parsing cursor points to DMRproperty endtoken.Parsing cursor points to DMRproperty starttoken.Parsing cursor points to DMRstring.Parsing cursor points to DMRtype.Parsing cursor points to DMRundefinedtoken. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelEventReturns the enum constant of this class with the specified name.static ModelEvent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Parsing cursor points to DMRboolean. -
BYTES
Parsing cursor points to DMRbytes. -
EXPRESSION
Parsing cursor points to DMRexpression. -
LIST_END
Parsing cursor points to DMRlist endtoken. -
LIST_START
Parsing cursor points to DMRlist starttoken. -
INT
Parsing cursor points to DMRint. -
LONG
Parsing cursor points to DMRlong. -
DOUBLE
Parsing cursor points to DMRdouble. -
BIG_INTEGER
Parsing cursor points to DMRbig integer. -
BIG_DECIMAL
Parsing cursor points to DMRbig decimal. -
OBJECT_START
Parsing cursor points to DMRobject starttoken. -
OBJECT_END
Parsing cursor points to DMRobject endtoken. -
PROPERTY_END
Parsing cursor points to DMRproperty endtoken. -
PROPERTY_START
Parsing cursor points to DMRproperty starttoken. -
STRING
Parsing cursor points to DMRstring. -
TYPE
Parsing cursor points to DMRtype. -
UNDEFINED
Parsing cursor points to DMRundefinedtoken.
-
-
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
-