org.jfree.report.expressions.sys

Class IsExportTypeExpression

Implemented Interfaces:
Cloneable, Expression, Serializable

public class IsExportTypeExpression
extends AbstractExpression

Tests, whether a certain export type is currently used.
Author:
Thomas Morgner

Constructor Summary

IsExportTypeExpression()

Method Summary

Object
computeValue()
Return the current expression value.
String
getExportType()
void
setExportType(String exportType)

Methods inherited from class org.jfree.report.expressions.AbstractExpression

clone, getDataRow, getInstance, getName, getParentLocale, getReportConfiguration, getResourceBundleFactory, getRuntime, isDeepTraversing, isPrecompute, isPreserve, setDeepTraversing, setName, setPrecompute, setPreserve, setRuntime

Constructor Details

IsExportTypeExpression

public IsExportTypeExpression()

Method Details

computeValue

public Object computeValue()
            throws ExpressionException
Return the current expression value.

The value depends (obviously) on the expression implementation.

Specified by:
computeValue in interface Expression
Returns:
the value of the function.

getExportType

public String getExportType()

setExportType

public void setExportType(String exportType)