|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.SimpleTopicExpressionEvaluator
Topic expression evalutor for the simple topic dialect.
TopicExpressionEvaluator| Field Summary | |
private static java.lang.String[] |
dialects
|
private static org.globus.util.I18n |
i18n
|
(package private) static org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
SimpleTopicExpressionEvaluator()
|
|
| Method Summary | |
java.util.List |
getConcreteTopicPath(TopicExpressionType expression)
Converts the expression from dialect specific form to a ordered list of QNames. |
java.lang.String[] |
getDialects()
Gets the URIs for the dialects that this evaluator can handle |
java.util.Collection |
resolve(TopicExpressionType expression,
TopicList topicList)
Evaluates the expression over a TopicList and returns the result. |
TopicExpressionType |
toTopicExpression(java.util.List topicPath)
Converts a topic path (list of QNames) to a dialect specific concrete topic expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static org.apache.commons.logging.Log logger
private static org.globus.util.I18n i18n
private static java.lang.String[] dialects
| Constructor Detail |
public SimpleTopicExpressionEvaluator()
| Method Detail |
public java.util.Collection resolve(TopicExpressionType expression,
TopicList topicList)
throws UnsupportedTopicExpressionDialectException,
TopicExpressionResolutionException,
InvalidTopicExpressionException,
TopicExpressionException
TopicExpressionEvaluator
resolve in interface TopicExpressionEvaluatorexpression - object passed by client representing the topic
expressiontopicList - topic list associated with the service/resource
TopicExpressionException - if any other error occurs
TopicExpressionResolutionException - if the expression could not be
evaluated
InvalidTopicExpressionException - if the topic expression is invalid
UnsupportedTopicExpressionDialectException - if the topic expression dialect is not
supportedpublic java.lang.String[] getDialects()
TopicExpressionEvaluator
getDialects in interface TopicExpressionEvaluator
public java.util.List getConcreteTopicPath(TopicExpressionType expression)
throws UnsupportedTopicExpressionDialectException,
InvalidTopicExpressionException,
TopicExpressionException
TopicExpressionEvaluator
getConcreteTopicPath in interface TopicExpressionEvaluatorexpression - object passed by client representing the topic
expression
TopicExpressionException - if any other error occurs
UnsupportedTopicExpressionDialectException - if the topic expression dialect is not
supported
InvalidTopicExpressionException - if the topic expression is invalid
public TopicExpressionType toTopicExpression(java.util.List topicPath)
throws InvalidTopicExpressionException,
TopicExpressionException
TopicExpressionEvaluator
toTopicExpression in interface TopicExpressionEvaluatortopicPath - containing a list of QNames describing a concrete topic
path
TopicExpressionException - if any other error occurs
InvalidTopicExpressionException - if the conrete topic path is invalid
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||