public interface JSONEventRenderer
A renderer is dedicated to rendering only a certain type of events and subtypes of that type, as the render cache type metadata and prepares structures to enable fast rendering.
For rendering events of different types, use a quick-access method in EventRenderer
.
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String render(java.lang.String title, EventBean theEvent)
title
- the JSON root titletheEvent
- the event to renderjava.lang.String render(EventBean theEvent)
theEvent
- the event to render