public interface Pattern
It is important to remember that:
Modifier and Type | Method and Description |
---|---|
boolean |
matches(XNode node,
ExprContext context)
Matches specified node against this pattern.
|
boolean matches(XNode node, ExprContext context) throws EvalException
node
- node to be matchedcontext
- evaluation contexttrue
if specified node matches this pattern;
false
otherwiseEvalException
- if specified node cannot be matched against this
pattern