org.gvsig.tools.evaluator
Interface Evaluator

All Known Implementing Classes:
AbstractEvaluator, AndEvaluator

public interface Evaluator

This interface provides the necessary methods for processing CQL expressions.


Method Summary
 Object evaluate(EvaluatorData data)
          Evaluate with the data passed as parameter.
 String getDescription()
          Get a description of the action performed with the evaluator.
 EvaluatorFieldsInfo getFieldsInfo()
          Get information about fiels used in the evaluator.
 String getName()
          Get the symbolic name of the evaluator.
 String getSQL()
          Get a SQL representation of the evaluator.
 

Method Detail

evaluate

Object evaluate(EvaluatorData data)
                throws EvaluatorException
Evaluate with the data passed as parameter.

Parameters:
data -
Returns:
the result of the evaluation.
Throws:
EvaluatorException

getName

String getName()
Get the symbolic name of the evaluator.

Returns:
evaluator's name

getDescription

String getDescription()
Get a description of the action performed with the evaluator.

Returns:
evaluator's description

getSQL

String getSQL()
Get a SQL representation of the evaluator.

Returns:
the SQL string or null if not supported.

getFieldsInfo

EvaluatorFieldsInfo getFieldsInfo()
Get information about fiels used in the evaluator.

Returns:


Copyright © 2004-2011 gvSIG. All Rights Reserved.