|
||||||||||
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.SimpleTopic
public class SimpleTopic
SimpleTopic is Muse's default implementation of the wsnt:Topic data structure defined in WS-Notification v1.3 and WS-Topics v1.3.
Constructor Summary | |
---|---|
SimpleTopic(Element root,
TopicNamespace topicSpace)
|
|
SimpleTopic(String name,
TopicNamespace topicSpace)
|
Method Summary | |
---|---|
void |
addMessageType(QName messageType)
|
void |
addTopic(Topic childTopic)
Adds a child topic to the topic. |
boolean |
equals(Object obj)
|
QName |
getConcretePath()
|
NotificationMessage |
getCurrentMessage()
|
String |
getMessagePattern()
|
String |
getMessagePatternDialect()
|
Set |
getMessageTypes()
|
String |
getName()
|
Topic |
getParentTopic()
|
Topic |
getTopic(String topicName)
|
TopicNamespace |
getTopicNamespace()
|
Collection |
getTopics()
|
int |
hashCode()
|
boolean |
hasTopic(String topicName)
|
boolean |
isFinal()
|
boolean |
isRootTopic()
|
void |
removeAllTopics()
|
void |
removeMessageType(QName messageType)
|
void |
removeTopic(String topicName)
|
void |
setCurrentMessage(NotificationMessage message)
|
void |
setFinal(boolean isFinal)
|
void |
setMessagePattern(String messagePattern)
|
void |
setParentTopic(Topic parentTopic)
|
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 SimpleTopic(Element root, TopicNamespace topicSpace) throws InvalidTopicExpressionFault, BaseFault
InvalidTopicExpressionFault
BaseFault
public SimpleTopic(String name, TopicNamespace topicSpace) throws BaseFault
BaseFault
Method Detail |
---|
public final void addMessageType(QName messageType)
addMessageType
in interface Topic
public final void addTopic(Topic childTopic) throws InvalidTopicExpressionFault, BaseFault
Topic
addTopic
in interface Topic
InvalidTopicExpressionFault
BaseFault
public boolean equals(Object obj)
equals
in class Object
public QName getConcretePath()
getConcretePath
in interface Topic
public NotificationMessage getCurrentMessage()
getCurrentMessage
in interface Topic
public String getMessagePattern()
getMessagePattern
in interface Topic
public String getMessagePatternDialect()
getMessagePatternDialect
in interface Topic
public Set getMessageTypes()
getMessageTypes
in interface Topic
public final String getName()
getName
in interface Topic
public Topic getParentTopic()
getParentTopic
in interface Topic
public Topic getTopic(String topicName)
getTopic
in interface Topic
public TopicNamespace getTopicNamespace()
getTopicNamespace
in interface Topic
public Collection getTopics()
getTopics
in interface Topic
public int hashCode()
hashCode
in class Object
equals(Object)
public boolean hasTopic(String topicName)
hasTopic
in interface Topic
public boolean isFinal()
isFinal
in interface Topic
public boolean isRootTopic()
isRootTopic
in interface Topic
public final void removeAllTopics()
removeAllTopics
in interface Topic
public final void removeMessageType(QName messageType)
removeMessageType
in interface Topic
public final void removeTopic(String topicName)
removeTopic
in interface Topic
public void setCurrentMessage(NotificationMessage message)
setCurrentMessage
in interface Topic
message
- The last message published to this topic.public void setFinal(boolean isFinal)
setFinal
in interface Topic
public void setMessagePattern(String messagePattern)
setMessagePattern
in interface Topic
public void setParentTopic(Topic parentTopic)
setParentTopic
in interface Topic
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 |