|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.json.impl.DefaultJSONObject
org.compass.core.json.impl.DefaultAliasedJSONObject
public class DefaultAliasedJSONObject
An aliased DefaultJSONObject.
| Field Summary |
|---|
| Fields inherited from class org.compass.core.json.impl.DefaultJSONObject |
|---|
NULL |
| Constructor Summary | |
|---|---|
DefaultAliasedJSONObject(String alias)
Constructs a new aliased json object using the provided alias. |
|
DefaultAliasedJSONObject(String alias,
DefaultJSONTokener tokener)
Constructs a new aliased json object using the provided alias and a json tokener. |
|
DefaultAliasedJSONObject(String alias,
String json)
Constructs a new aliased json object using the provided alias and json string. |
|
| Method Summary | |
|---|---|
String |
getAlias()
Returns the given alias. |
| Methods inherited from class org.compass.core.json.impl.DefaultJSONObject |
|---|
accumulate, append, doubleToString, entries, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, isNull, isNullValue, keys, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOpt, quote, remove, sortedKeys, testValidity, toJSONArray, toString, toString, toString, valueToString, valueToString, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compass.core.json.JsonObject |
|---|
isNullValue, keys, opt |
| Constructor Detail |
|---|
public DefaultAliasedJSONObject(String alias)
alias - The alias name
public DefaultAliasedJSONObject(String alias,
String json)
alias - The alias namejson - The JSON string
public DefaultAliasedJSONObject(String alias,
DefaultJSONTokener tokener)
throws DefaultJSONException
alias - The alias nametokener - The JSON tokener
DefaultJSONException| Method Detail |
|---|
public String getAlias()
getAlias in interface AliasedObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||