public interface DataSource extends Serializable, Cloneable
Modifier and Type | Method and Description |
---|---|
DataSource |
clone()
Clones this
DataSource . |
Object |
getValue(ExpressionRuntime runtime,
ReportElement element)
Returns the current value for the data source.
|
Object getValue(ExpressionRuntime runtime, ReportElement element)
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of this
filter.element
- the element for which the data is computed.DataSource clone() throws CloneNotSupportedException
DataSource
.CloneNotSupportedException
- this should never happen.