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 Expression
FilterException
public boolean matches(Filterable message) throws FilterException
matches
in interface BooleanExpression
message
- FilterException
protected static void setupFeatures(DocumentBuilderFactory factory) throws ParserConfigurationException
ParserConfigurationException
Copyright © 2022 The Apache Software Foundation. All rights reserved.