org.openjena.atlas.json
Class JsonBoolean
java.lang.Object
org.openjena.atlas.json.JsonValue
org.openjena.atlas.json.JsonPrimitive
org.openjena.atlas.json.JsonBoolean
- All Implemented Interfaces:
- Printable
public class JsonBoolean
- extends JsonPrimitive
| 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 |
JsonBoolean
public JsonBoolean(boolean bool)
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(java.lang.Object other)
- Specified by:
equals in class JsonValue
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.