|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.factory.DataRowExpressionEvaluatorAdapter
org.eclipse.birt.chart.integrate.SimpleDataRowExpressionEvaluator
public class SimpleDataRowExpressionEvaluator
Simple implementation of IDataRowExpressionEvaluator.
Constructor Summary | |
---|---|
SimpleDataRowExpressionEvaluator(java.lang.String[] expressions,
java.lang.Object[][] data)
|
Method Summary | |
---|---|
void |
close()
Closes the underlying resultset. |
java.lang.Object |
evaluate(java.lang.String expression)
Evaluates the expression based on the current row |
java.lang.Object |
evaluateGlobal(java.lang.String expression)
Evaluates the global expressions which are not associated with the data rows. |
boolean |
first()
Moves to the first row. |
boolean |
next()
Moves to the next row. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDataRowExpressionEvaluator(java.lang.String[] expressions, java.lang.Object[][] data)
Method Detail |
---|
public java.lang.Object evaluate(java.lang.String expression)
IDataRowExpressionEvaluator
evaluate
in interface IDataRowExpressionEvaluator
evaluate
in class DataRowExpressionEvaluatorAdapter
public boolean first()
IDataRowExpressionEvaluator
first
in interface IDataRowExpressionEvaluator
first
in class DataRowExpressionEvaluatorAdapter
true
if the cursor is on a valid row;
false
if there are no rows in the result setpublic boolean next()
IDataRowExpressionEvaluator
next
in interface IDataRowExpressionEvaluator
next
in class DataRowExpressionEvaluatorAdapter
public void close()
IDataRowExpressionEvaluator
close
in interface IDataRowExpressionEvaluator
close
in class DataRowExpressionEvaluatorAdapter
public java.lang.Object evaluateGlobal(java.lang.String expression)
IDataRowExpressionEvaluator
evaluateGlobal
in interface IDataRowExpressionEvaluator
evaluateGlobal
in class DataRowExpressionEvaluatorAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |