Enum Class ModelEvent

java.lang.Object
java.lang.Enum<ModelEvent>
org.jboss.dmr.stream.ModelEvent
All Implemented Interfaces:
Serializable, Comparable<ModelEvent>, Constable

public enum ModelEvent extends Enum<ModelEvent>
DMR parsing events.
Author:
Richard Opalka
  • Enum Constant Details

    • BOOLEAN

      public static final ModelEvent BOOLEAN
      Parsing cursor points to DMR boolean.
    • BYTES

      public static final ModelEvent BYTES
      Parsing cursor points to DMR bytes.
    • EXPRESSION

      public static final ModelEvent EXPRESSION
      Parsing cursor points to DMR expression.
    • LIST_END

      public static final ModelEvent LIST_END
      Parsing cursor points to DMR list end token.
    • LIST_START

      public static final ModelEvent LIST_START
      Parsing cursor points to DMR list start token.
    • INT

      public static final ModelEvent INT
      Parsing cursor points to DMR int.
    • LONG

      public static final ModelEvent LONG
      Parsing cursor points to DMR long.
    • DOUBLE

      public static final ModelEvent DOUBLE
      Parsing cursor points to DMR double.
    • BIG_INTEGER

      public static final ModelEvent BIG_INTEGER
      Parsing cursor points to DMR big integer.
    • BIG_DECIMAL

      public static final ModelEvent BIG_DECIMAL
      Parsing cursor points to DMR big decimal.
    • OBJECT_START

      public static final ModelEvent OBJECT_START
      Parsing cursor points to DMR object start token.
    • OBJECT_END

      public static final ModelEvent OBJECT_END
      Parsing cursor points to DMR object end token.
    • PROPERTY_END

      public static final ModelEvent PROPERTY_END
      Parsing cursor points to DMR property end token.
    • PROPERTY_START

      public static final ModelEvent PROPERTY_START
      Parsing cursor points to DMR property start token.
    • STRING

      public static final ModelEvent STRING
      Parsing cursor points to DMR string.
    • TYPE

      public static final ModelEvent TYPE
      Parsing cursor points to DMR type.
    • UNDEFINED

      public static final ModelEvent UNDEFINED
      Parsing cursor points to DMR undefined token.
  • Method Details

    • values

      public static ModelEvent[] 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

      public static ModelEvent valueOf(String name)
      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 name
      NullPointerException - if the argument is null