org.openjena.atlas.json
Class JsonBoolean

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

public class JsonBoolean
extends JsonPrimitive


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

Constructor Detail

JsonBoolean

public JsonBoolean(boolean bool)
Method Detail

isBoolean

public boolean isBoolean()
Overrides:
isBoolean in class JsonValue

getAsBoolean

public JsonBoolean getAsBoolean()
Overrides:
getAsBoolean in class JsonValue

value

public boolean 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