public class ArrayValue extends JsonValue
| Constructor and Description |
|---|
ArrayValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(JsonValue child)
Add child value.
|
Iterator<JsonValue> |
getElements()
Get all element of this value.
|
boolean |
isArray() |
int |
size() |
String |
toString() |
void |
writeTo(JsonWriter writer)
Write value in given writer.
|
addElement, getBooleanValue, getByteValue, getDoubleValue, getElement, getFloatValue, getIntValue, getKeys, getLongValue, getNumberValue, getShortValue, getStringValue, isBoolean, isDouble, isLong, isNull, isNumeric, isObject, isStringpublic void addElement(JsonValue child)
addElement in class JsonValuechild - the child value.public boolean isArray()
public Iterator<JsonValue> getElements()
getElements in class JsonValuepublic void writeTo(JsonWriter writer) throws JsonException
writeTo in class JsonValuewriter - Writer.JsonException - if any errors occurs.Copyright © 2018 eXo Platform SAS. All Rights Reserved.