org.mentawai.ajax
Interface AjaxRenderer
- All Known Implementing Classes:
- BeanCollectionAjaxRenderer, JSONArrayAjaxRenderer, JSONGenericRenderer, JSONMapAjaxRenderer, JSONObjectAjaxRenderer, JsonRenderer, MapAjaxRenderer, ResultRenderer, StringAjaxRenderer, StringRenderer, XStreamRenderer
public interface AjaxRenderer
This class will generate a document representation from a Java object.
The document representation is usually XML or JSON.
- Author:
- soliveira, Rubem Azenha
TEXT_HTML
static final String TEXT_HTML
- Content-type for text/html.
- See Also:
- Constant Field Values
TEXT_XML
static final String TEXT_XML
- Content-type for text/xml.
- See Also:
- Constant Field Values
APP_JSON
static final String APP_JSON
- See Also:
- Constant Field Values
APP_JS
static final String APP_JS
- See Also:
- Constant Field Values
TEXT_PLAIN
static final String TEXT_PLAIN
- See Also:
- Constant Field Values
APP_URLENCODED
static final String APP_URLENCODED
- See Also:
- Constant Field Values
encode
String encode(Object object,
Locale loc,
boolean pretty)
throws Exception
- Throws:
Exception
getContentType
String getContentType()
getCharset
String getCharset()
Copyright © 2012. All Rights Reserved.