Enum ModelEvent

    • Enum Constant Detail

      • 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 Detail

      • values

        public static ModelEvent[] 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 (ModelEvent c : ModelEvent.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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