org.apache.muse.ws.notification.topics.impl
Class SimpleTopicSet
java.lang.Object
org.apache.muse.ws.notification.topics.impl.SimpleTopicSet
- All Implemented Interfaces:
- TopicSet, XmlSerializable
- public class SimpleTopicSet
- extends java.lang.Object
- implements TopicSet
SimpleTopicSet is Muse's default implementation of the wst:TopicSet data
structure defined in WS-Topics v1.3.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTopicSet
public SimpleTopicSet()
addTopicNamespace
public final void addTopicNamespace(TopicNamespace topicSpace)
throws BaseFault
- Specified by:
addTopicNamespace
in interface TopicSet
- Throws:
BaseFault
getTopicNamespace
public final TopicNamespace getTopicNamespace(java.lang.String namespace)
- Specified by:
getTopicNamespace
in interface TopicSet
- Parameters:
namespace
-
- Returns:
- The TopicNamespace represented by the given URI, or null if none exists.
getTopicNamespaceURIs
public final java.util.Collection getTopicNamespaceURIs()
- Specified by:
getTopicNamespaceURIs
in interface TopicSet
- Returns:
- The namespace URIs for all of the topic namespaces in the topic set.
removeTopicNamespace
public final void removeTopicNamespace(java.lang.String namespace)
- Specified by:
removeTopicNamespace
in interface TopicSet
toXML
public org.w3c.dom.Element toXML()
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Returns:
- An XML representation of this object.
toXML
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Parameters:
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
- Returns:
- An XML representation of this object.