org.apache.wink.json4j.compat
Interface JSONArray
- All Known Implementing Classes:
- ApacheJSONArrayDelegate
public interface JSONArray
get
Object get(int index)
throws JSONException
- Throws:
JSONException
getBoolean
boolean getBoolean(int index)
throws JSONException
- Throws:
JSONException
getDouble
double getDouble(int index)
throws JSONException
- Throws:
JSONException
getInt
int getInt(int index)
throws JSONException
- Throws:
JSONException
getLong
long getLong(int index)
throws JSONException
- Throws:
JSONException
getShort
short getShort(int index)
throws JSONException
- Throws:
JSONException
getString
String getString(int index)
throws JSONException
- Throws:
JSONException
getJSONArray
JSONArray getJSONArray(int index)
throws JSONException
- Throws:
JSONException
getJSONObject
JSONObject getJSONObject(int index)
throws JSONException
- Throws:
JSONException
join
String join(String separator)
put
JSONArray put(boolean value)
put
JSONArray put(Collection value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(double value)
put
JSONArray put(int value)
put
JSONArray put(int index,
boolean value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(int index,
Collection value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(int index,
double value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(int index,
int value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(int index,
long value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(int index,
short value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(int index,
Map value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(int index,
Object value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(long value)
put
JSONArray put(short value)
put
JSONArray put(Map value)
throws JSONException
- Throws:
JSONException
put
JSONArray put(Object value)
throws JSONException
- Throws:
JSONException
remove
Object remove(int index)
isNull
boolean isNull(int index)
length
int length()
toString
String toString()
- Overrides:
toString
in class Object
toString
String toString(int indent)
write
Writer write(Writer w)
throws JSONException
- Throws:
JSONException
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.