|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.ws.frameworks.json.value.JsonValue
org.exoplatform.ws.frameworks.json.value.impl.ObjectValue
public class ObjectValue
| Constructor Summary | |
|---|---|
ObjectValue()
|
|
| Method Summary | |
|---|---|
void |
addElement(String key,
JsonValue child)
Add child value. |
JsonValue |
getElement(String key)
Get value by key. |
Iterator<String> |
getKeys()
Get all keys for access values. |
boolean |
isObject()
|
String |
toString()
|
void |
writeTo(JsonWriter writer)
Write value in given writer. |
| Methods inherited from class org.exoplatform.ws.frameworks.json.value.JsonValue |
|---|
addElement, getBooleanValue, getByteValue, getDoubleValue, getElements, getFloatValue, getIntValue, getLongValue, getNumberValue, getShortValue, getStringValue, isArray, isBoolean, isDouble, isLong, isNull, isNumeric, isString, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectValue()
| Method Detail |
|---|
public void addElement(String key,
JsonValue child)
addElement in class JsonValuekey - the key.child - the child value.public boolean isObject()
isObject in class JsonValuepublic Iterator<String> getKeys()
getKeys in class JsonValuepublic JsonValue getElement(String key)
getElement in class JsonValuekey - the key.
public String toString()
toString in class JsonValue
public void writeTo(JsonWriter writer)
throws JsonException
writeTo in class JsonValuewriter - Writer.
JsonException - if any errors occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||