Enum Class Hson.Type

java.lang.Object
java.lang.Enum<Hson.Type>
io.helidon.metadata.hson.Hson.Type
All Implemented Interfaces:
Serializable, Comparable<Hson.Type>, Constable
Enclosing class:
Hson

public static enum Hson.Type extends Enum<Hson.Type>
The type of value.
  • Enum Constant Details

    • STRING

      public static final Hson.Type STRING
      String value.
    • NUMBER

      public static final Hson.Type NUMBER
      Numeric value.
    • BOOLEAN

      public static final Hson.Type BOOLEAN
      Boolean value.
    • NULL

      public static final Hson.Type NULL
      Null value.
    • STRUCT

      public static final Hson.Type STRUCT
      Nested struct value.
    • ARRAY

      public static final Hson.Type ARRAY
      Array value.
  • Method Details

    • values

      public static Hson.Type[] 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 Hson.Type 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