org.compass.core.json.grails
Class GrailsAliasedJSONObject

java.lang.Object
  extended by org.compass.core.json.grails.GrailsJSONObject
      extended by org.compass.core.json.grails.GrailsAliasedJSONObject
All Implemented Interfaces:
AliasedJsonObject, JsonObject, AliasedObject

public class GrailsAliasedJSONObject
extends GrailsJSONObject
implements AliasedJsonObject

An aliased wrapper around grails JSONObject.

Author:
kimchy

Constructor Summary
GrailsAliasedJSONObject(String alias, org.codehaus.groovy.grails.web.json.JSONObject jsonObject)
           
GrailsAliasedJSONObject(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.grails.GrailsJSONObject
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

GrailsAliasedJSONObject

public GrailsAliasedJSONObject(String alias,
                               String json)
                        throws org.codehaus.groovy.grails.web.json.JSONException
Throws:
org.codehaus.groovy.grails.web.json.JSONException

GrailsAliasedJSONObject

public GrailsAliasedJSONObject(String alias,
                               org.codehaus.groovy.grails.web.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.