Class JsonValue

  • All Implemented Interfaces:
    org.apache.jena.atlas.io.Printable
    Direct Known Subclasses:
    JsonArray, JsonObject, JsonPrimitive

    public abstract class JsonValue
    extends java.lang.Object
    implements org.apache.jena.atlas.io.Printable
    • Constructor Detail

      • JsonValue

        public JsonValue()
    • Method Detail

      • isObject

        public boolean isObject()
      • isArray

        public boolean isArray()
      • isPrimitive

        public boolean isPrimitive()
      • isNull

        public boolean isNull()
      • isNumber

        public boolean isNumber()
      • isString

        public boolean isString()
      • isBoolean

        public boolean isBoolean()
      • hashCode

        public abstract int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public abstract boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • visit

        public abstract void visit​(JsonVisitor visitor)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • output

        public void output​(org.apache.jena.atlas.io.IndentedWriter out)
        Specified by:
        output in interface org.apache.jena.atlas.io.Printable