Interface Data

    • Field Detail

      • NULL

        static final Data NULL
    • Method Detail

      • isList

        boolean isList()
        Returns:
        true if this instance is of kind list, false otherwise
      • isValue

        boolean isValue()
        Returns:
        true if this instance is of kind value, false otherwise
      • isNull

        default boolean isNull()
        Returns:
        true if this instance is the same as NULL, false otherwise
      • textValue

        java.lang.String textValue()
        Returns:
        text data value, throws exception for data which can't be represented as text
      • asList

        default java.util.List<Data> asList()
        Returns:
        this instance cast to List, may throw exception if this instance is not of kind list.