org.apache.muse.ws.notification.topics
Interface TopicNamespace
- All Superinterfaces:
- XmlSerializable
- All Known Implementing Classes:
- SimpleTopicNamespace
public interface TopicNamespace
- extends XmlSerializable
TopicNamespace is an interface that represents the wsnt:TopicNamespace data
structure described in WS-Notification v1.3 and WS-Topics v1.3.
- Author:
- Dan Jemiolo (danj)
addTopic
void addTopic(Topic topic)
throws BaseFault
- Adds a root topic to the namespace.
- Parameters:
topic
-
- Throws:
BaseFault
getName
String getName()
- Returns:
- The local name of the topic namespace.
getRootTopics
Collection getRootTopics()
- Returns:
- All of the topics in the namespace that don't have a parent topic.
getTargetNamespace
String getTargetNamespace()
- Returns:
- The namespace URI that represents the topic namespace.
getTopic
Topic getTopic(String topicName)
- Parameters:
topicName
-
- Returns:
- The root topic with the given name, or null if no such topic exists.
hasTopic
boolean hasTopic(String topicName)
- Parameters:
topicName
-
- Returns:
- True if the namespace has a topic with the given name.
removeTopic
void removeTopic(String topicName)
setName
void setName(String name)
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.