|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplayn.flash.json.impl.JreJsonValue
playn.flash.json.impl.JreJsonArray
public class JreJsonArray
Server-side implementation of JsonArray.
| Constructor Summary | |
|---|---|
JreJsonArray(JsonFactory factory)
|
|
| Method Summary | ||
|---|---|---|
|
get(int index)
|
|
Object |
getObject()
|
|
JsonType |
getType()
Returns an enumeration representing the fundamental JSON type. |
|
boolean |
jsEquals(JsonValue value)
Equivalent of Javascript '==' operator comparison between two values. |
|
int |
length()
|
|
void |
remove(int index)
|
|
void |
set(int index,
boolean bool)
|
|
void |
set(int index,
double number)
|
|
void |
set(int index,
JsonValue value)
|
|
void |
set(int index,
String string)
|
|
String |
toJson()
Returns a serialized JSON string representing this value. |
|
void |
traverse(playn.flash.json.impl.JsonVisitor visitor,
playn.flash.json.impl.JsonContext ctx)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JreJsonArray(JsonFactory factory)
| Method Detail |
|---|
public <T extends JsonValue> T get(int index)
get in interface JsonArraypublic Object getObject()
getObject in class JreJsonValuepublic JsonType getType()
JsonValue
getType in interface JsonValuepublic int length()
length in interface JsonArraypublic void remove(int index)
remove in interface JsonArray
public void set(int index,
JsonValue value)
set in interface JsonArray
public void set(int index,
String string)
set in interface JsonArray
public void set(int index,
double number)
set in interface JsonArray
public void set(int index,
boolean bool)
set in interface JsonArraypublic boolean jsEquals(JsonValue value)
JsonValue
jsEquals in interface JsonValue
public void traverse(playn.flash.json.impl.JsonVisitor visitor,
playn.flash.json.impl.JsonContext ctx)
traverse in class JreJsonValuepublic String toJson()
JsonValue
toJson in interface JsonValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||