Class XQueryExpression
- java.lang.Object
-
- org.apache.activemq.artemis.selector.filter.XQueryExpression
-
- All Implemented Interfaces:
BooleanExpression,Expression
public final class XQueryExpression extends java.lang.Object implements BooleanExpression
Used to evaluate an XQuery Expression in a JMS selector.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectevaluate(Filterable message)booleanmatches(Filterable message)java.lang.StringtoString()
-
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(Filterable message) throws FilterException
- Specified by:
evaluatein interfaceExpression- Returns:
- the value of this expression
- Throws:
FilterException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
matches
public boolean matches(Filterable message) throws FilterException
- Specified by:
matchesin interfaceBooleanExpression- Parameters:
message-- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
FilterException
-
-