|
|||||||||||
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
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(org.w3c.dom.Element root)
|
|
SimpleTopicNamespace(java.lang.String targetNamespace)
|
Method Summary | |
---|---|
void |
addTopic(Topic topic)
Adds a root topic to the namespace. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
|
java.util.Collection |
getRootTopics()
|
java.lang.String |
getTargetNamespace()
|
Topic |
getTopic(java.lang.String topicName)
|
int |
hashCode()
|
boolean |
hasTopic(java.lang.String topicName)
|
void |
removeTopic(java.lang.String topicName)
|
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
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, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SimpleTopicNamespace(org.w3c.dom.Element root) throws BaseFault
public SimpleTopicNamespace(java.lang.String targetNamespace)
Method Detail |
public final void addTopic(Topic topic) throws BaseFault
TopicNamespace
addTopic
in interface TopicNamespace
topic
-
BaseFault
public boolean equals(java.lang.Object obj)
public final java.lang.String getName()
getName
in interface TopicNamespace
public final java.util.Collection getRootTopics()
getRootTopics
in interface TopicNamespace
public final java.lang.String getTargetNamespace()
getTargetNamespace
in interface TopicNamespace
public final Topic getTopic(java.lang.String topicName)
getTopic
in interface TopicNamespace
topicName
-
public int hashCode()
equals(Object)
public final boolean hasTopic(java.lang.String topicName)
hasTopic
in interface TopicNamespace
topicName
-
public final void removeTopic(java.lang.String topicName)
removeTopic
in interface TopicNamespace
public final void setName(java.lang.String name)
setName
in interface TopicNamespace
public java.lang.String toString()
public org.w3c.dom.Element toXML()
XmlSerializable
toXML
in interface XmlSerializable
public org.w3c.dom.Element toXML(org.w3c.dom.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 |