org.openjena.atlas.json
Class JsonString

java.lang.Object
  extended by org.openjena.atlas.json.JsonValue
      extended by org.openjena.atlas.json.JsonPrimitive
          extended by org.openjena.atlas.json.JsonString
All Implemented Interfaces:
Printable

public class JsonString
extends JsonPrimitive


Constructor Summary
JsonString(String string)
           
 
Method Summary
 boolean equals(Object other)
           
 JsonString getAsString()
           
 int hashCode()
           
 boolean isString()
           
 String value()
           
 void visit(JsonVisitor visitor)
           
 
Methods inherited from class org.openjena.atlas.json.JsonValue
getAsArray, getAsBoolean, getAsNumber, getAsObject, isArray, isBoolean, isNull, isNumber, isObject, isPrimitive, output, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonString

public JsonString(String string)
Method Detail

isString

public boolean isString()
Overrides:
isString in class JsonValue

getAsString

public JsonString getAsString()
Overrides:
getAsString in class JsonValue

value

public String value()

visit

public void visit(JsonVisitor visitor)
Specified by:
visit in class JsonValue

hashCode

public int hashCode()
Specified by:
hashCode in class JsonValue

equals

public boolean equals(Object other)
Specified by:
equals in class JsonValue


Licenced under the Apache License, Version 2.0