com.espertech.esper.client.util
Interface EventPropertyRenderer

All Known Implementing Classes:
EventPropertyRendererDefault, LogSink.ConsoleOpEventPropertyRenderer

public interface EventPropertyRenderer

Interface for use with the JSON or XML event renderes to handle custom event property rendering.

Implementations of this interface are called for each event property and may utilize the context object provided to render the event property value to a string.

The context itself contains a reference to the default renderer that can be delegated to for properties that use the default rendering.

Do not retain a handle to the renderer context as the context object changes for each event property.


Method Summary
 void render(EventPropertyRendererContext context)
          Render an event property.
 

Method Detail

render

void render(EventPropertyRendererContext context)
Render an event property.

Parameters:
context - provides information about the property

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com