org.exoplatform.json
Class ArrayToJSONPlugin

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

public class ArrayToJSONPlugin
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
ArrayToJSONPlugin()
           
 
Method Summary
<T> void
objectToJSON(java.lang.Object object, java.lang.StringBuilder builder, int indentLevel)
           
 void toJSONScript(java.lang.Object objects, 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

ArrayToJSONPlugin

public ArrayToJSONPlugin()
Method Detail

toJSONScript

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

objectToJSON

public <T> void objectToJSON(java.lang.Object object,
                             java.lang.StringBuilder builder,
                             int indentLevel)
                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.