Enum ValueType

    • Enum Constant Detail

      • SCALAR

        public static final ValueType SCALAR
        Deprecated.
        Represents a node that consists of a "single" scalar value
      • MAP

        public static final ValueType MAP
        Deprecated.
        Represents a node that consists of a number of child values, each mapped by a unique key.
      • LIST

        public static final ValueType LIST
        Deprecated.
        Represents a node that consists of a number of child values, in a specific order, each mapped by an index value.
      • NULL

        public static final ValueType NULL
        Deprecated.
        Represents a node that has no defined value.
    • Method Detail

      • values

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

        public static ValueType valueOf​(String name)
        Deprecated.
        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
      • canHaveChildren

        public boolean canHaveChildren()
        Deprecated.
        Gets if the type can hold child values.
        Returns:
        If the type can have children