public class JSONValue extends KeyValueValue
RippleValue.Type| Constructor and Description |
|---|
JSONValue(org.json.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KeyValueValue other) |
Collection<String> |
getKeys() |
StackMapping |
getMapping() |
RippleValue |
getValue(String key,
ModelConnection mc) |
void |
printTo(RipplePrintStream p) |
RDFValue |
toRDF(ModelConnection mc) |
static RippleValue |
toRippleValue(Object o,
ModelConnection mc) |
String |
toString() |
getTypepublic RDFValue toRDF(ModelConnection mc) throws RippleException
RippleExceptionpublic StackMapping getMapping()
public void printTo(RipplePrintStream p) throws RippleException
RippleExceptionpublic RippleValue getValue(String key, ModelConnection mc) throws RippleException
getValue in class KeyValueValueRippleExceptionpublic Collection<String> getKeys()
getKeys in class KeyValueValuepublic static RippleValue toRippleValue(Object o, ModelConnection mc) throws RippleException
o - an object of type JSONObject, JSONArray, boolean, double, integer, long, or Stringmc - a Ripple ModelConnectionRippleException - if something goes awrypublic int compareTo(KeyValueValue other)
Copyright © 2007-2012 fortytwo.net. All Rights Reserved.