FilterExpr
, LocationStep
, NodeExpression
, PathComponent
AbstractPathComponent
, PathExpr
, UnionExpr
public interface MatchExpression
Modifier and Type | Method | Description |
---|---|---|
boolean |
matches(XPathNode node,
XPathContext context) |
Determines if the given node is matched by this MatchExpr with
respect to the given context.
|
boolean matches(XPathNode node, XPathContext context) throws XPathException
node
- the node to determine a match forcontext
- the XPathContextXPathException
- when an error occurs during
evaluation