Interface MatchExpression
- All Known Subinterfaces:
FilterExpr
,LocationStep
,NodeExpression
,PathComponent
- All Known Implementing Classes:
AbstractPathComponent
,PathExpr
,UnionExpr
public interface MatchExpression
This class represents a Match expression. A match expression,
is an expression which can determine whether or not it
matches a given node within a given context.
- Version:
- $Revision: 3734 $ $Date: 2003-05-13 09:55:04 +0200 (Tue, 13 May 2003) $
- Author:
- Keith Visco
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(XPathNode node, XPathContext context) Determines if the given node is matched by this MatchExpr with respect to the given context.
-
Method Details
-
matches
Determines if the given node is matched by this MatchExpr with respect to the given context.- Parameters:
node
- the node to determine a match forcontext
- the XPathContext- Returns:
- true if the given node is matched by this MatchExpr
- Throws:
XPathException
- when an error occurs during evaluation
-