org.compass.core.json.grails
Class GrailsAliasedJSONObject
java.lang.Object
org.compass.core.json.grails.GrailsJSONObject
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
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 |
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)
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.