Interface JSONEventRenderer

All Known Implementing Classes:
JSONEventRendererJsonEventType

public interface JSONEventRenderer
Renderer for an event into the JSON textual format.

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.

  • Method Summary

    Modifier and Type
    Method
    Description
    render(EventBean theEvent)
    Render a given event in the JSON format.
    render(String title, EventBean theEvent)
    Render a given event in the JSON format.
  • Method Details

    • render

      String render(String title, EventBean theEvent)
      Render a given event in the JSON format.
      Parameters:
      title - the JSON root title
      theEvent - the event to render
      Returns:
      JSON formatted text
    • render

      String render(EventBean theEvent)
      Render a given event in the JSON format.
      Parameters:
      theEvent - the event to render
      Returns:
      JSON formatted text