Class XMLRendererImpl

java.lang.Object
com.espertech.esper.common.internal.event.render.XMLRendererImpl
All Implemented Interfaces:
XMLEventRenderer

public class XMLRendererImpl extends Object implements XMLEventRenderer
Renderer for XML-formatted properties.
  • Constructor Details

    • XMLRendererImpl

      public XMLRendererImpl(EventType eventType, XMLRenderingOptions options)
      Ctor.
      Parameters:
      eventType - type of event to render
      options - rendering options
  • Method Details

    • render

      public String render(String rootElementName, EventBean theEvent)
      Description copied from interface: XMLEventRenderer
      Render a given event in the XML format.
      Specified by:
      render in interface XMLEventRenderer
      Parameters:
      rootElementName - the name of the root element, may include namespace information
      theEvent - the event to render
      Returns:
      XML formatted text