org.apache.ws.notification.topics.expression.impl
Class SimpleTopicExpressionEvaluator
java.lang.Object
org.apache.ws.notification.topics.expression.impl.AbstractTopicExpressionEvaluator
org.apache.ws.notification.topics.expression.impl.SimpleTopicExpressionEvaluator
- All Implemented Interfaces:
- TopicExpressionEvaluator
- public class SimpleTopicExpressionEvaluator
- extends AbstractTopicExpressionEvaluator
Topic expression evalutor for the WS-Topics "Simple" topic dialect.
- Author:
- Ian Springer (ian DOT springer AT hp DOT com)
- See Also:
TopicExpressionEvaluator
Method Summary |
Topic[] |
evaluate(TopicSpaceSet topicSpaceSet,
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTopicExpressionEvaluator
public SimpleTopicExpressionEvaluator()
evaluate
public Topic[] evaluate(TopicSpaceSet topicSpaceSet,
TopicExpression topicExpr)
throws TopicPathDialectUnknownException,
TopicExpressionResolutionException,
InvalidTopicExpressionException,
TopicExpressionException
- Description copied from interface:
TopicExpressionEvaluator
- Evaluates the expression over a TopicSpace and returns the set of matching topics.
- Parameters:
topicSpaceSet
- topic list associated with the service/resourcetopicExpr
- object passed by client representing the topic expression
- Returns:
- the set of topics that matched the specified expression
- Throws:
TopicPathDialectUnknownException
- if the topic expression dialect is not supported
TopicExpressionException
- if any other error occurs
InvalidTopicExpressionException
- if the topic expression is invalid
TopicExpressionResolutionException
- if the expression could not be evaluated
getDialects
public java.lang.String[] getDialects()
- Description copied from interface:
TopicExpressionEvaluator
- Gets the URIs for the dialects that this evaluator can handle
- Returns:
- array of URIs supported by this evaluator
Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.