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

com.espertech.esper.event.util.RendererMetaOptions Maven / Gradle / Ivy

Go to download

Complex event processing and event series analysis component

There is a newer version: 7.1.0
Show newest version
package com.espertech.esper.event.util;

/**
 * Options for use by {@link RendererMeta} with rendering metadata.
 */
public class RendererMetaOptions
{
    private final boolean isXMLOutput;
    private final boolean preventLooping;

    /**
     * Ctor.
     * @param preventLooping true to prevent looping
     * @param isXMLOutput true for XML output
     */
    public RendererMetaOptions(boolean preventLooping, boolean isXMLOutput)
    {
        this.preventLooping = preventLooping;
        this.isXMLOutput = isXMLOutput;
    }

    /**
     * Returns true to prevent looping.
     * @return prevent looping indicator
     */
    public boolean isPreventLooping()
    {
        return preventLooping;
    }

    /**
     * Returns true for XML output.
     * @return XML output flag
     */
    public boolean isXMLOutput()
    {
        return isXMLOutput;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy