org.exolab.adaptx.xpath.expressions
Interface MatchExpression
- LocationStep, NodeExpression, PathComponent
- FilterBase, 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.
$Revision: 1.1 $ $Date: 2003/05/13 07:55:04 $ boolean | matches(XPathNode node, XPathContext context) - Determines if the given node is matched by this MatchExpr with
respect to the given context.
|
matches
public boolean matches(XPathNode node,
XPathContext context)
throws XPathException
Determines if the given node is matched by this MatchExpr with
respect to the given context.
node
- the node to determine a match forcontext
- the XPathContext
- true if the given node is matched by this MatchExpr