Class XPathExpression
java.lang.Object
org.apache.activemq.artemis.selector.filter.XPathExpression
- All Implemented Interfaces:
BooleanExpression,Expression
Used to evaluate an XPath Expression in a JMS selector.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionevaluate(Filterable message) Returns the value of this expression.booleanmatches(Filterable message) Returns true if the expression evaluates to Boolean.TRUE.toString()
-
Field Details
-
XPATH_EVALUATOR_FACTORY
-
DOCUMENT_BUILDER_FACTORY_FEATURE_PREFIX
- See Also:
-
-
Method Details
-
evaluate
Description copied from interface:ExpressionReturns the value of this expression.- Specified by:
evaluatein interfaceExpression- Returns:
- the value of this expression
- Throws:
FilterException
-
toString
-
matches
Returns true if the expression evaluates to Boolean.TRUE.- Specified by:
matchesin interfaceBooleanExpression- Returns:
- true if the expression evaluates to Boolean.TRUE
- Throws:
FilterException
-
getFeatures
- Throws:
ParserConfigurationException
-