org.apache.muse.ws.notification.topics.impl
Class SimpleTopicSet
java.lang.Object
org.apache.muse.ws.notification.topics.impl.SimpleTopicSet
- All Implemented Interfaces:
- XmlSerializable, TopicSet
public class SimpleTopicSet
- extends 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(String namespace)
- Specified by:
getTopicNamespace
in interface TopicSet
- Returns:
- The TopicNamespace represented by the given URI, or null if none exists.
getTopicNamespaceURIs
public final 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(String namespace)
- Specified by:
removeTopicNamespace
in interface TopicSet
toXML
public 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 Element toXML(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.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.