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.Object
evaluate(Filterable message)
boolean
matches(Filterable message)
java.lang.String
toString()
-
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(Filterable message) throws FilterException
- Specified by:
evaluate
in interfaceExpression
- Returns:
- the value of this expression
- Throws:
FilterException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
matches
public boolean matches(Filterable message) throws FilterException
- Specified by:
matches
in interfaceBooleanExpression
- Parameters:
message
-- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
FilterException
-
-