|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.json.jettison.JettisonJSONArray
public class JettisonJSONArray
A wrapper around jettison JSONArray.
| Constructor Summary | |
|---|---|
JettisonJSONArray(org.codehaus.jettison.json.JSONArray jsonArray)
|
|
| Method Summary | |
|---|---|
boolean |
isNull(int index)
Returns true if the given index is a null value. |
int |
length()
Return the length of the array. |
Object |
opt(int index)
Returns the value for the given index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JettisonJSONArray(org.codehaus.jettison.json.JSONArray jsonArray)
| Method Detail |
|---|
public int length()
JsonArray
length in interface JsonArraypublic boolean isNull(int index)
JsonArraytrue if the given index is a null value.
isNull in interface JsonArraypublic Object opt(int index)
JsonArray
opt in interface JsonArray
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||