org.apache.muse.ws.notification.topics
Interface TopicPathExpression
- All Known Implementing Classes:
- ConcretePathExpression
- public interface TopicPathExpression
TopicPathExpression represents a qualified path that can be resolved
to a topic that is published by a resource. Once the expression has
been created, the resolve() method can be used to find a topic rather
than searching through the resource's collection manually.
- Author:
- Dan Jemiolo (danj)
getTopicPath
public QName getTopicPath()
- Returns:
- That path that will be resolved by this expression.
getTopicSpace
public TopicNamespace getTopicSpace()
- Returns:
- The TopicNamespace against which the path will be resolved.
iterator
public java.util.ListIterator iterator()
- Returns:
- An iterator that allows the user to view each section of
the topic path (the strings in between each '/').
resolve
public Topic resolve()
- Evaluates the topic path and finds the Topic it represents.
- Returns:
- The SimpleTopic that is represented by the path, or null if no
such SimpleTopic exists.