|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.util.JSONRendererImpl
public class JSONRendererImpl
Render for the JSON format.
Constructor Summary | |
---|---|
JSONRendererImpl(EventType eventType,
JSONRenderingOptions options)
Ctor. |
Method Summary | |
---|---|
java.lang.String |
render(EventBean theEvent)
Render a given event in the JSON format. |
java.lang.String |
render(java.lang.String title,
EventBean theEvent)
Render a given event in the JSON format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONRendererImpl(EventType eventType, JSONRenderingOptions options)
eventType
- type of event(s)options
- rendering optionsMethod Detail |
---|
public java.lang.String render(java.lang.String title, EventBean theEvent)
JSONEventRenderer
render
in interface JSONEventRenderer
title
- the JSON root titletheEvent
- the event to render
public java.lang.String render(EventBean theEvent)
JSONEventRenderer
render
in interface JSONEventRenderer
theEvent
- the event to render
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |