public class ListOfEventsWriter extends BasicMessageBodyWriter<ListOfEvents>
| Constructor and Description |
|---|
ListOfEventsWriter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toJson(Event event) |
protected void |
writeJson(Event event,
org.codehaus.jettison.json.JSONWriter writer) |
protected void |
writeJson(ListOfEvents events,
org.codehaus.jettison.json.JSONWriter writer) |
getSize, isWriteable, writeToprotected void writeJson(ListOfEvents events, org.codehaus.jettison.json.JSONWriter writer) throws org.codehaus.jettison.json.JSONException
writeJson in class BasicMessageBodyWriter<ListOfEvents>org.codehaus.jettison.json.JSONExceptionprotected void writeJson(Event event, org.codehaus.jettison.json.JSONWriter writer) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionpublic java.lang.String toJson(Event event) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException