org.apache.ws.notification.topics
Interface TopicSet


public interface TopicSet

The set of topics that a particular NotificationProducer supports.


Method Summary
 void addTopicExpression(TopicExpression topicExpr)
           
 boolean containsTopic(javax.xml.namespace.QName topicPath)
           
 Topic[] evaluateTopicExpression(TopicExpression topicExpr)
           
 TopicExpression[] getTopicExpressions()
          Returns the topic expressions contained in this topic set.
 Topic[] getTopics()
          Returns the topics contained in this topic set.
 boolean isFixed()
          Returns a boolean that indicates if this topic set is fixed as defined by the WS-BaseNotification specification.
 void setFixed(boolean fixed)
          Sets the boolean that indicates if this topic set is fixed as defined by the WS-BaseNotification specification.
 

Method Detail

setFixed

public void setFixed(boolean fixed)
Sets the boolean that indicates if this topic set is fixed as defined by the WS-BaseNotification specification.

Parameters:
fixed -

isFixed

public boolean isFixed()
Returns a boolean that indicates if this topic set is fixed as defined by the WS-BaseNotification specification.


getTopicExpressions

public TopicExpression[] getTopicExpressions()
Returns the topic expressions contained in this topic set.


getTopics

public Topic[] getTopics()
Returns the topics contained in this topic set.


addTopicExpression

public void addTopicExpression(TopicExpression topicExpr)
                        throws TopicExpressionException
Parameters:
topicExpr -
Throws:
TopicExpressionException

containsTopic

public boolean containsTopic(javax.xml.namespace.QName topicPath)
Parameters:
topicPath - the path to exactly one Topic (e.g. new QName( "http://example.org/topicSpace/example1", "t4/t5" ))
Returns:
true if this topic set contains the specified topic, or false if it does not

evaluateTopicExpression

public Topic[] evaluateTopicExpression(TopicExpression topicExpr)
                                throws TopicExpressionException
Parameters:
topicExpr -
Returns:
Throws:
TopicExpressionException


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.