|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A TopicExpressionEvaluator
is used to evaluate a topic expression of a known dialect
against a set of topic namespaces. An evaluator can be registered with a TopicExpressionEngine
,
which in turn delegates to the evaluator evaluation of expressions with the corresponding dialect.
Method Summary | |
Topic[] |
evaluate(TopicNamespaceRegistry topicNsRegistry,
TopicExpression topicExpr)
Evaluates the expression over a TopicSpace and returns the set of matching topics. |
java.lang.String[] |
getDialects()
Gets the URIs for the dialects that this evaluator can handle |
Method Detail |
public java.lang.String[] getDialects()
public Topic[] evaluate(TopicNamespaceRegistry topicNsRegistry, TopicExpression topicExpr) throws TopicPathDialectUnknownException, TopicExpressionResolutionException, InvalidTopicExpressionException, TopicExpressionException
topicNsRegistry
- topicExpr
- object passed by client representing the topic expression
TopicPathDialectUnknownException
- if the topic expression dialect is not supported
TopicExpressionResolutionException
- if the expression could not be evaluated
InvalidTopicExpressionException
- if the topic expression is invalid
TopicExpressionException
- if any other error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |