public final class XPathExpression extends Object implements BooleanExpression
| Modifier and Type | Class and Description |
|---|---|
static interface |
XPathExpression.XPathEvaluator |
static interface |
XPathExpression.XPathEvaluatorFactory |
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENT_BUILDER_FACTORY_FEATURE_PREFIX |
static XPathExpression.XPathEvaluatorFactory |
XPATH_EVALUATOR_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Filterable message) |
boolean |
matches(Filterable message) |
protected static void |
setupFeatures(DocumentBuilderFactory factory) |
String |
toString() |
public static XPathExpression.XPathEvaluatorFactory XPATH_EVALUATOR_FACTORY
public static final String DOCUMENT_BUILDER_FACTORY_FEATURE_PREFIX
public Object evaluate(Filterable message) throws FilterException
evaluate in interface ExpressionFilterExceptionpublic boolean matches(Filterable message) throws FilterException
matches in interface BooleanExpressionmessage - FilterExceptionprotected static void setupFeatures(DocumentBuilderFactory factory) throws ParserConfigurationException
ParserConfigurationExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.