|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.util.JSON._Value
public static class JSON._Value
JSON Value
| Constructor Summary | |
|---|---|
JSON._Value(boolean v)
Constructor |
|
JSON._Value(java.lang.Boolean v)
Constructor |
|
JSON._Value(double v)
Constructor |
|
JSON._Value(java.lang.Double v)
Constructor |
|
JSON._Value(int v)
Constructor |
|
JSON._Value(java.lang.Integer v)
Constructor |
|
JSON._Value(JSON._Array v)
Constructor |
|
JSON._Value(JSON._Object v)
Constructor |
|
JSON._Value(long v)
Constructor |
|
JSON._Value(java.lang.Long v)
Constructor |
|
JSON._Value(java.lang.String v)
Constructor |
|
| Method Summary | |
|---|---|
JSON._Array |
getArrayValue(JSON._Array dft)
|
boolean |
getBooleanValue(boolean dft)
|
double |
getDoubleValue(double dft)
|
int |
getIntValue(int dft)
|
long |
getLongValue(long dft)
|
java.lang.Object |
getObjectValue()
Gets the value |
JSON._Object |
getObjectValue(JSON._Object dft)
|
java.lang.String |
getStringValue(java.lang.String dft)
|
boolean |
isArrayValue()
Returns true is this value represents a JSON._Array |
boolean |
isBooleanValue()
Returns true is this value represents a Boolean |
boolean |
isDoubleValue()
Returns true is this value represents a Double |
boolean |
isIntValue()
Returns true is this value represents an Integer |
boolean |
isLongValue()
Returns true is this value represents a Long |
boolean |
isObjectValue()
Returns true is this value represents a JSON._Object |
boolean |
isStringValue()
Returns true is this value represents a String |
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._Value(java.lang.String v)
public JSON._Value(java.lang.Integer v)
public JSON._Value(int v)
public JSON._Value(java.lang.Long v)
public JSON._Value(long v)
public JSON._Value(java.lang.Double v)
public JSON._Value(double v)
public JSON._Value(java.lang.Boolean v)
public JSON._Value(boolean v)
public JSON._Value(JSON._Array v)
public JSON._Value(JSON._Object v)
| Method Detail |
|---|
public java.lang.Object getObjectValue()
public boolean isStringValue()
public java.lang.String getStringValue(java.lang.String dft)
public boolean isIntValue()
public int getIntValue(int dft)
public boolean isLongValue()
public long getLongValue(long dft)
public boolean isDoubleValue()
public double getDoubleValue(double dft)
public boolean isBooleanValue()
public boolean getBooleanValue(boolean dft)
public boolean isArrayValue()
public JSON._Array getArrayValue(JSON._Array dft)
public boolean isObjectValue()
public JSON._Object getObjectValue(JSON._Object dft)
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 | ||||||||