|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.util.JSON._KeyValue
public static class JSON._KeyValue
JSON Key/Value pair
Constructor Summary | |
---|---|
JSON._KeyValue(java.lang.String key,
boolean value)
Constructor |
|
JSON._KeyValue(java.lang.String key,
double value)
Constructor |
|
JSON._KeyValue(java.lang.String key,
JSON._Array value)
Constructor |
|
JSON._KeyValue(java.lang.String key,
JSON._Object value)
Constructor |
|
JSON._KeyValue(java.lang.String key,
JSON._Value value)
Constructor |
|
JSON._KeyValue(java.lang.String key,
long value)
Constructor |
|
JSON._KeyValue(java.lang.String key,
java.lang.String value)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getKey()
Gets the key of this key/value pair |
JSON._Value |
getValue()
Gets the value of this key/value pair |
java.lang.String |
toString()
Returns a String representation of this instance |
java.lang.StringBuffer |
toStringBuffer(int prefix,
java.lang.StringBuffer sb)
Write a String representation of this instance to the StringBuffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JSON._KeyValue(java.lang.String key, JSON._Value value)
public JSON._KeyValue(java.lang.String key, java.lang.String value)
public JSON._KeyValue(java.lang.String key, long value)
public JSON._KeyValue(java.lang.String key, double value)
public JSON._KeyValue(java.lang.String key, boolean value)
public JSON._KeyValue(java.lang.String key, JSON._Array value)
public JSON._KeyValue(java.lang.String key, JSON._Object value)
Method Detail |
---|
public java.lang.String getKey()
public JSON._Value getValue()
public java.lang.StringBuffer toStringBuffer(int prefix, java.lang.StringBuffer sb)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |