org.apache.ws.notification.topics.impl
Class TopicSpaceSetImpl

java.lang.Object
  extended byorg.apache.ws.notification.topics.impl.TopicSpaceSetImpl
All Implemented Interfaces:
TopicSpaceSet

public class TopicSpaceSetImpl
extends java.lang.Object
implements TopicSpaceSet

Author:
Sal Campana

Constructor Summary
TopicSpaceSetImpl(boolean fixed)
           
 
Method Summary
 TopicSpace addTopicSpace(TopicSpace topicSpace)
          Adds the TopicSpace to the TopicSpaceSet.
 Topic[] evaluateTopicExpression(TopicExpression topicExpr)
           
 TopicSpace getTopicSpace(java.lang.String namespaceURI)
           
 TopicSpace[] getTopicSpaces()
           
 boolean isFixed()
          Returns a boolean that indicates if this topic set is fixed as defined by the WS-BaseNotification specification.
 void removeTopicSpace(java.lang.String namespaceURI)
           
 void setFixed(boolean fixed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicSpaceSetImpl

public TopicSpaceSetImpl(boolean fixed)
Method Detail

addTopicSpace

public TopicSpace addTopicSpace(TopicSpace topicSpace)
                         throws java.lang.Exception
Adds the TopicSpace to the TopicSpaceSet. Note. If the TopiSpace already exists, this method will add all the known Topics to the passed-in TopicSpace and set it as the current TopicSpace in the TopicSpaceSet. This will ensure there is only 1 TopicSpace in the set and it is complete...

Specified by:
addTopicSpace in interface TopicSpaceSet
Parameters:
topicSpace -
Throws:
java.lang.Exception

removeTopicSpace

public void removeTopicSpace(java.lang.String namespaceURI)
Specified by:
removeTopicSpace in interface TopicSpaceSet

getTopicSpace

public TopicSpace getTopicSpace(java.lang.String namespaceURI)
Specified by:
getTopicSpace in interface TopicSpaceSet

getTopicSpaces

public TopicSpace[] getTopicSpaces()
Specified by:
getTopicSpaces in interface TopicSpaceSet

evaluateTopicExpression

public Topic[] evaluateTopicExpression(TopicExpression topicExpr)
                                throws TopicExpressionException
Specified by:
evaluateTopicExpression in interface TopicSpaceSet
Throws:
TopicExpressionException

isFixed

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

Specified by:
isFixed in interface TopicSpaceSet

setFixed

public void setFixed(boolean fixed)
Specified by:
setFixed in interface TopicSpaceSet


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