org.apache.ws.notification.topics.impl
Class TopicSpaceSetImpl
java.lang.Object
org.apache.ws.notification.topics.impl.TopicSpaceSetImpl
- All Implemented Interfaces:
- TopicSpaceSet
- public class TopicSpaceSetImpl
- extends java.lang.Object
- implements TopicSpaceSet
- Author:
- Sal Campana
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopicSpaceSetImpl
public TopicSpaceSetImpl(boolean fixed)
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.