org.compass.core.json.jettison
Class JettisonAliasedJSONObject

java.lang.Object
  extended by org.compass.core.json.jettison.JettisonJSONObject
      extended by 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

Constructor Summary
JettisonAliasedJSONObject(String alias, org.codehaus.jettison.json.JSONObject jsonObject)
           
JettisonAliasedJSONObject(String alias, String json)
           
 
Method Summary
 String getAlias()
          Returns the alias name that is associated with the Object.
 
Methods inherited from class org.compass.core.json.jettison.JettisonJSONObject
isNullValue, keys, opt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.json.JsonObject
isNullValue, keys, opt
 

Constructor Detail

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)
Method Detail

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.