org.mentawai.ajax.renderer
Class JSONMapAjaxRenderer
java.lang.Object
org.mentawai.ajax.renderer.JSONMapAjaxRenderer
- All Implemented Interfaces:
- AjaxRenderer
public class JSONMapAjaxRenderer
- extends Object
- implements AjaxRenderer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONMapAjaxRenderer
public JSONMapAjaxRenderer()
encode
public String encode(Object obj,
Locale loc,
boolean pretty)
throws Exception
- Specified by:
encode in interface AjaxRenderer
- Throws:
Exception
getContentType
public String getContentType()
- Specified by:
getContentType in interface AjaxRenderer
getCharset
public String getCharset()
- Specified by:
getCharset in interface AjaxRenderer
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.