org.exoplatform.json
Class MapToJSONPlugin

java.lang.Object
  extended by org.exoplatform.json.BeanToJSONPlugin<java.lang.Object>
      extended by org.exoplatform.json.MapToJSONPlugin

public class MapToJSONPlugin
extends BeanToJSONPlugin<java.lang.Object>

Created by The eXo Platform SARL Author : Nhu Dinh Thuan nhudinhthuan@exoplatform.com Mar 26, 2007


Field Summary
 
Fields inherited from class org.exoplatform.json.BeanToJSONPlugin
dateFormat_, service_
 
Constructor Summary
MapToJSONPlugin()
           
 
Method Summary
 void toJSONScript(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.StringBuilder builder, int indentLevel)
           
 void toJSONScript(java.lang.Object object, java.lang.StringBuilder builder, int indentLevel)
           
 
Methods inherited from class org.exoplatform.json.BeanToJSONPlugin
appendIndentation, encode, isCharacterType, isDateType, isPrimitiveType, setDateFormat, setService, toDateValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapToJSONPlugin

public MapToJSONPlugin()
Method Detail

toJSONScript

public void toJSONScript(java.lang.Object object,
                         java.lang.StringBuilder builder,
                         int indentLevel)
                  throws java.lang.Exception
Specified by:
toJSONScript in class BeanToJSONPlugin<java.lang.Object>
Throws:
java.lang.Exception

toJSONScript

public void toJSONScript(java.util.Map<java.lang.String,java.lang.Object> map,
                         java.lang.StringBuilder builder,
                         int indentLevel)
                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.