|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A TopicExpressionEvaluator
is used to implement a topic expression evaluation against a
TopicSpaceSet
. An evaluator can be registered with a TopicExpressionEngine
,
which in turn calls the evaluator when a matching expression is found.
Method Summary | |
Topic[] |
evaluate(TopicSpaceSet topicSpaceSet,
TopicExpression expression)
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 Topic[] evaluate(TopicSpaceSet topicSpaceSet, TopicExpression expression) throws TopicPathDialectUnknownException, TopicExpressionResolutionException, InvalidTopicExpressionException, TopicExpressionException
topicSpaceSet
- topic list associated with the service/resourceexpression
- 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 occurspublic java.lang.String[] getDialects()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |