org.compass.core.json.jackson
Class JacksonAliasedJsonObject

java.lang.Object
  extended by org.compass.core.json.jackson.JacksonJsonObject
      extended by org.compass.core.json.jackson.JacksonAliasedJsonObject
All Implemented Interfaces:
AliasedJsonObject, JsonObject, AliasedObject

public class JacksonAliasedJsonObject
extends JacksonJsonObject
implements AliasedJsonObject

A simple aliased JsonObject implementation that works with the JacksonContentConverter parser.

Author:
kimchy

Constructor Summary
JacksonAliasedJsonObject(String alias, Map<String,Object> nodes)
           
 
Method Summary
 String getAlias()
          Returns the alias name that is associated with the Object.
 
Methods inherited from class org.compass.core.json.jackson.JacksonJsonObject
getNodes, 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

JacksonAliasedJsonObject

public JacksonAliasedJsonObject(String alias,
                                Map<String,Object> nodes)
                         throws org.codehaus.groovy.grails.web.json.JSONException
Throws:
org.codehaus.groovy.grails.web.json.JSONException
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-2009 The Compass Project.