All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.espertech.esper.client.util.XMLEventRenderer Maven / Gradle / Ivy

/*
 ***************************************************************************************
 *  Copyright (C) 2006 EsperTech, Inc. All rights reserved.                            *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 ***************************************************************************************
 */
package com.espertech.esper.client.util;

import com.espertech.esper.client.EventBean;

/**
 * Renderer for an event into the XML 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. *

* For rendering events of different types, use a quick-access method in {@link EventRenderer}. */ public interface XMLEventRenderer { /** * Render a given event in the XML format. * * @param rootElementName the name of the root element, may include namespace information * @param theEvent the event to render * @return XML formatted text */ public String render(String rootElementName, EventBean theEvent); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy