|
||||||||||
| 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.JreJsonBoolean
public class JreJsonBoolean
Server-side implementation of JsonBoolean.
| Constructor Summary | |
|---|---|
JreJsonBoolean(boolean bool)
|
|
| Method Summary | |
|---|---|
boolean |
getBoolean()
|
Object |
getObject()
|
JsonType |
getType()
Returns an enumeration representing the fundamental JSON type. |
boolean |
jsEquals(JsonValue value)
Equivalent of Javascript '==' operator comparison between two values. |
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 JreJsonBoolean(boolean bool)
| Method Detail |
|---|
public boolean getBoolean()
getBoolean in interface JsonBooleanpublic Object getObject()
getObject in class JreJsonValuepublic JsonType getType()
JsonValue
getType in interface JsonValuepublic 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 JreJsonValue
public String toJson()
throws IllegalStateException
JsonValue
toJson in interface JsonValueIllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||