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)

Method Summary
 QName getTopicPath()
           
 TopicNamespace getTopicSpace()
           
 ListIterator iterator()
           
 Topic resolve()
          Evaluates the topic path and finds the Topic it represents.
 

Method Detail

getTopicPath

QName getTopicPath()
Returns:
That path that will be resolved by this expression.

getTopicSpace

TopicNamespace getTopicSpace()
Returns:
The TopicNamespace against which the path will be resolved.

iterator

ListIterator iterator()
Returns:
An iterator that allows the user to view each section of the topic path (the strings in between each '/').

resolve

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.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.