org.apache.activemq.filter
Class XQueryExpression
java.lang.Object
org.apache.activemq.filter.XQueryExpression
- All Implemented Interfaces:
- BooleanExpression, Expression
public final class XQueryExpression
- extends Object
- implements BooleanExpression
Used to evaluate an XQuery Expression in a JMS selector.
evaluate
public Object evaluate(MessageEvaluationContext message)
throws javax.jms.JMSException
- Specified by:
evaluate
in interface Expression
- Returns:
- the value of this expression
- Throws:
javax.jms.JMSException
toString
public String toString()
- Overrides:
toString
in class Object
matches
public boolean matches(MessageEvaluationContext message)
throws javax.jms.JMSException
- Specified by:
matches
in interface BooleanExpression
- Parameters:
message
-
- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
javax.jms.JMSException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.