|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.ws.notification.topics.impl.SimpleTopicNamespace
public class SimpleTopicNamespace
SimpleTopicNamespace is Muse's default implementation of the wsnt:TopicNamespace data structure defined in WS-Notification v1.3 and WS-Topics v1.3.
Constructor Summary | |
---|---|
SimpleTopicNamespace(Element root)
|
|
SimpleTopicNamespace(String targetNamespace)
|
Method Summary | |
---|---|
void |
addTopic(Topic topic)
Adds a root topic to the namespace. |
boolean |
equals(Object obj)
|
String |
getName()
|
Collection |
getRootTopics()
|
String |
getTargetNamespace()
|
Topic |
getTopic(String topicName)
|
int |
hashCode()
|
boolean |
hasTopic(String topicName)
|
void |
removeTopic(String topicName)
|
void |
setName(String name)
|
String |
toString()
|
Element |
toXML()
Converts this object into an XML representation, as defined by its related schema or specification. |
Element |
toXML(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, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleTopicNamespace(Element root) throws BaseFault
BaseFault
public SimpleTopicNamespace(String targetNamespace)
Method Detail |
---|
public final void addTopic(Topic topic) throws BaseFault
TopicNamespace
addTopic
in interface TopicNamespace
BaseFault
public boolean equals(Object obj)
equals
in class Object
public final String getName()
getName
in interface TopicNamespace
public final Collection getRootTopics()
getRootTopics
in interface TopicNamespace
public final String getTargetNamespace()
getTargetNamespace
in interface TopicNamespace
public final Topic getTopic(String topicName)
getTopic
in interface TopicNamespace
public int hashCode()
hashCode
in class Object
equals(Object)
public final boolean hasTopic(String topicName)
hasTopic
in interface TopicNamespace
public final void removeTopic(String topicName)
removeTopic
in interface TopicNamespace
public final void setName(String name)
setName
in interface TopicNamespace
public String toString()
toString
in class Object
public Element toXML()
XmlSerializable
toXML
in interface XmlSerializable
public Element toXML(Document doc)
XmlSerializable
toXML
in interface XmlSerializable
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |