org.compass.core.json.jettison
Class JettisonAliasedJSONObject
java.lang.Object
org.compass.core.json.jettison.JettisonJSONObject
org.compass.core.json.jettison.JettisonAliasedJSONObject
- All Implemented Interfaces:
- AliasedJsonObject, JsonObject, AliasedObject
public class JettisonAliasedJSONObject
- extends JettisonJSONObject
- implements AliasedJsonObject
An aliased wrapper around jettison JSONObject.
- Author:
- kimchy
|
Method Summary |
String |
getAlias()
Returns the alias name that is associated with the Object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettisonAliasedJSONObject
public JettisonAliasedJSONObject(String alias,
String json)
throws org.codehaus.jettison.json.JSONException
- Throws:
org.codehaus.jettison.json.JSONException
JettisonAliasedJSONObject
public JettisonAliasedJSONObject(String alias,
org.codehaus.jettison.json.JSONObject jsonObject)
getAlias
public String getAlias()
- Description copied from interface:
AliasedObject
- Returns the alias name that is associated with the Object.
- Specified by:
getAlias in interface AliasedObject
Copyright (c) 2004-2008 The Compass Project.