|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for representing a topic. A topic is either a child of a parent topic or in the case of root topics a member of a topic list. Non-root topics have names without a namespace component.
TopicList| Method Summary | |
void |
addTopic(Topic topic)
Add a sub-topic. |
java.lang.Object |
getCurrentMessage()
Get the current notification message if there is any |
javax.xml.namespace.QName |
getName()
Get the name of the topic. |
Topic |
getTopic(javax.xml.namespace.QName topicName)
Get the sub-topic with the given topic name |
java.util.List |
getTopicPath()
Get the topic path. |
TopicExpressionType |
getTopicReference()
Get the topic expression for the topic(s) that this topic references. |
boolean |
isReference()
Is this a topic reference? |
void |
notify(java.lang.Object obj)
Send out a notification on this topic |
void |
removeTopic(Topic topic)
Remove a sub-topic |
void |
setTopicPath(java.util.List topicPath)
Set the topic path. |
void |
setTopicReference(TopicExpressionType topicPath)
Set the topic expression that resolves to a set of topics that this topic references. |
java.util.Iterator |
topicIterator()
Iterator for the set of child topics |
| Methods inherited from interface org.globus.wsrf.TopicListenerList |
addTopicListener, removeTopicListener, topicListenerIterator |
| Method Detail |
public void addTopic(Topic topic)
throws java.lang.Exception
topic - The sub-topic to add
java.lang.Exceptionpublic void removeTopic(Topic topic)
topic - The sub-topic to removepublic Topic getTopic(javax.xml.namespace.QName topicName)
topicName - The topic name of the sub topic
public void setTopicReference(TopicExpressionType topicPath)
topicPath - The topic expression to set.public TopicExpressionType getTopicReference()
public void setTopicPath(java.util.List topicPath)
topicPath - The topic path to associate with this topicpublic java.util.List getTopicPath()
public javax.xml.namespace.QName getName()
public java.lang.Object getCurrentMessage()
public void notify(java.lang.Object obj)
throws java.lang.Exception
obj - Object representation of the message to send
java.lang.Exceptionpublic boolean isReference()
public java.util.Iterator topicIterator()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||