public interface TopLevelClause extends Clause
A top-level clause is a boolean expression preceded by "&" in the CE, such as "lat>10.0", or "function(var1,var2)". The top-level clause may contain sub-clauses which can be evaluated individually. The parser supports several kinds of top-level clause. These are described in the ClauseFactory interface.
See SubClause for more about sub-clauses.
See CEEValuator for an explanation of how Clauses
are evaluated on data.
SubClause,
CEEvaluator,
ClauseFactory| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate()
Evaluates the clause, first calling evaluate() on any sub-clauses it
contains.
|
boolean |
getValue()
Returns the current value of the clause.
|
getChildren, isConstant, isDefined, printConstraintboolean getValue()
boolean evaluate()
throws DAP2ServerSideException
DAP2ServerSideException - Thrown if the evaluation fails for any reason.