|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A TopicExpressionEvaluator is used to implement a topic
expression evaluation against a TopicList. An evaluator can be
registered with a TopicExpressionEngine, which in turn calls the
evaluator when a matching expression is found.
TopicList,
TopicExpressionEngine| Method Summary | |
List |
getConcreteTopicPath(Object expression)
Converts the expression from dialect specific form to a ordered list of QNames. |
URI[] |
getDialects()
Gets the URIs for the dialects that this evaluator can handle |
Collection |
resolve(Object expression,
TopicList topicList)
Evaluates the expression over a TopicList and returns the result. |
TopicExpressionType |
toTopicExpression(List topicPath)
Converts a topic path (list of QNames) to a dialect specific concrete topic expression. |
| Method Detail |
public Collection resolve(Object expression,
TopicList topicList)
throws Exception
expression - object passed by client representing the topic
expressiontopicList - topic list associated with the service/resourceException - if the evaluator failed to parse or validate the
expressionpublic URI[] getDialects()
public List getConcreteTopicPath(Object expression)
throws Exception
expression - object passed by client representing the topic
expressionException -
public TopicExpressionType toTopicExpression(List topicPath)
throws Exception
topicPath - containing a list of QNames describing a concrete topic
pathException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||