|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.avaje.ebean.text.json.JsonElementArray
public class JsonElementArray
JSON Array element.
You will only use the JsonElements when you register a JsonReadBeanVisitor. The JSON elements that are not mapped to a bean property are made available to the JsonReadBeanVisitor.
JsonReadBeanVisitor| Constructor Summary | |
|---|---|
JsonElementArray()
|
|
| Method Summary | |
|---|---|
void |
add(JsonElement value)
|
List<JsonElement> |
getValues()
|
boolean |
isPrimitive()
Return true if this is a JSON primitive type (null, boolean, number or string). |
String |
toPrimitiveString()
Return the string value of this primitive JSON element. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JsonElementArray()
| Method Detail |
|---|
public List<JsonElement> getValues()
public void add(JsonElement value)
public String toString()
toString in class Objectpublic boolean isPrimitive()
JsonElement
isPrimitive in interface JsonElementpublic String toPrimitiveString()
JsonElementThis can not be used for JsonElementObject or JsonElementArray.
toPrimitiveString in interface JsonElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||