Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Constructor Summary
`SimpleTopicSet()`

Method Summary
`void` | `addTopicNamespace(TopicNamespace topicSpace)`
`TopicNamespace` | `getTopicNamespace(java.lang.String namespace)`
`java.util.Collection` | `getTopicNamespaceURIs()`
`void` | `removeTopicNamespace(java.lang.String namespace)`
`org.w3c.dom.Element` | `toXML()` Converts this object into an XML representation, as defined by its related schema or specification.
`org.w3c.dom.Element` | `toXML(org.w3c.dom.Document doc)` Converts this object into an XML representation, as defined by its related schema or specification.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleTopicSet

    public SimpleTopicSet()

Method Detail

### 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.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD