|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExpressionEvaluator
An ExpressionEvaluator is used to implement a query expression
evaluation of a ResourcePropertySet. An evaluator can be
registered with a QueryEngine, which in turn calls the
evaluator when a matching expression is found.
ResourcePropertySet,
QueryEngine| Method Summary | |
|---|---|
java.lang.Object |
evaluate(QueryExpressionType expression,
ResourcePropertySet resourcePropertySet)
Evaluates the expression over a ResourcePropertySet and returns the result. |
java.lang.String[] |
getDialects()
Gets the list of dialects that this evaluator can handle. |
| Method Detail |
|---|
java.lang.Object evaluate(QueryExpressionType expression,
ResourcePropertySet resourcePropertySet)
throws UnsupportedQueryDialectException,
QueryEvaluationException,
InvalidQueryExpressionException,
QueryException
expression - object passed by client representing query expression.resourcePropertySet - ResourcePropertySet associated with resource.
The expression is evaluated against this set.
SOAPElment or
DOM Element.
If the result object returned is null an empty query result
is returned.
UnsupportedQueryDialectException - if query dialect is
unsupported.
QueryEvaluationException - if query evaluation fails.
InvalidQueryExpressionException - if query expression is invalid.
QueryException - if any other errorjava.lang.String[] getDialects()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||