org.apache.ws.notification.topics.expression.impl
Class ConcreteTopicExpressionEvaluator

java.lang.Object
  extended byorg.apache.ws.notification.topics.expression.impl.AbstractTopicExpressionEvaluator
      extended byorg.apache.ws.notification.topics.expression.impl.ConcreteTopicExpressionEvaluator
All Implemented Interfaces:
TopicExpressionEvaluator

public class ConcreteTopicExpressionEvaluator
extends AbstractTopicExpressionEvaluator

Topic expression evalutor for the WS-Topics "Concrete" topic dialect.

Author:
Ian Springer (ian DOT springer AT hp DOT com)
See Also:
TopicExpressionEvaluator

Constructor Summary
ConcreteTopicExpressionEvaluator()
           
 
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 org.apache.ws.notification.topics.expression.impl.AbstractTopicExpressionEvaluator
getContent, getNamespaceContext, getTopicSpace, toQName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcreteTopicExpressionEvaluator

public ConcreteTopicExpressionEvaluator()
Method Detail

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/resource
topicExpr - 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.