org.openjena.atlas.json
Class JsonObject

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

public class JsonObject
extends JsonValue


Constructor Summary
JsonObject()
           
 
Method Summary
 void clear()
           
 Set<Map.Entry<String,JsonValue>> entrySet()
           
 boolean equals(Object other)
           
 JsonValue get(String key)
           
 JsonObject getAsObject()
           
 int hashCode()
           
 boolean hasKey(Object key)
           
 boolean isEmpty()
           
 boolean isObject()
           
 Set<String> keys()
           
 Set<String> keySet()
           
 JsonValue put(String key, boolean b)
           
 JsonValue put(String key, JsonValue value)
           
 JsonValue put(String key, long value)
           
 JsonValue put(String key, String value)
           
 void putAll(Map<? extends String,? extends JsonValue> m)
           
 JsonValue remove(Object key)
           
 int size()
           
 Collection<JsonValue> values()
           
 void visit(JsonVisitor visitor)
           
 
Methods inherited from class org.openjena.atlas.json.JsonValue
getAsArray, getAsBoolean, getAsNumber, getAsString, isArray, isBoolean, isNull, isNumber, isPrimitive, isString, output, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonObject

public JsonObject()
Method Detail

isObject

public boolean isObject()
Overrides:
isObject in class JsonValue

getAsObject

public JsonObject getAsObject()
Overrides:
getAsObject in class JsonValue

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

clear

public void clear()

hasKey

public boolean hasKey(Object key)

keys

public Set<String> keys()

entrySet

public Set<Map.Entry<String,JsonValue>> entrySet()

get

public JsonValue get(String key)

isEmpty

public boolean isEmpty()

keySet

public Set<String> keySet()

put

public JsonValue put(String key,
                     JsonValue value)

put

public JsonValue put(String key,
                     String value)

put

public JsonValue put(String key,
                     long value)

put

public JsonValue put(String key,
                     boolean b)

putAll

public void putAll(Map<? extends String,? extends JsonValue> m)

remove

public JsonValue remove(Object key)

size

public int size()

values

public Collection<JsonValue> values()


Licenced under the Apache License, Version 2.0