Click or drag to resize

EPEventTypeRuntime Interface

Provider for rendering services of events.

Namespace:  com.espertech.esper.common.client.render
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
public interface EPEventTypeRuntime
Methods
  NameDescription
Public methodGetJSONRenderer(EventType)
Returns a render for the JSON format, valid only for the given event type and its subtypes.
Public methodGetJSONRenderer(EventType, JSONRenderingOptions)
Returns a render for the JSON format, valid only for the given event type and its subtypes.
Public methodGetXMLRenderer(EventType)
Returns a render for the XML format, valid only for the given event type and its subtypes.
Public methodGetXMLRenderer(EventType, XMLRenderingOptions)
Returns a render for the XML format, valid only for the given event type and its subtypes.
Public methodRenderJSON(String, EventBean)
Quick-access method to render a given event in the JSON format.

Use the #getJSONRenderer to obtain a renderer instance that allows repeated rendering of the same type of event. For performance reasons obtaining a dedicated renderer instance is the preferred method compared to repeated rendering via this method.

Public methodRenderJSON(String, EventBean, JSONRenderingOptions)
Quick-access method to render a given event in the JSON format.

Use the #getJSONRenderer to obtain a renderer instance that allows repeated rendering of the same type of event. For performance reasons obtaining a dedicated renderer instance is the preferred method compared to repeated rendering via this method.

Public methodRenderXML(String, EventBean)
Quick-access method to render a given event in the XML format.

Use the #getXMLRenderer to obtain a renderer instance that allows repeated rendering of the same type of event. For performance reasons obtaining a dedicated renderer instance is the preferred method compared to repeated rendering via this method.

Public methodRenderXML(String, EventBean, XMLRenderingOptions)
Quick-access method to render a given event in the XML format.

Use the #getXMLRenderer to obtain a renderer instance that allows repeated rendering of the same type of event. For performance reasons obtaining a dedicated renderer instance is the preferred method compared to repeated rendering via this method.

Top
See Also