/** * Determines whether this <code>TargetMatchGroup</code> matches * the input request (whether it is applicable). * * @param context the representation of the request * * @return the result of trying to match the group with the context */ public MatchResult match(EvaluationCtx context) { Iterator it = matches.iterator(); MatchResult result = null; while (it.hasNext()) { TargetMatch tm = (TargetMatch)(it.next()); result = tm.match(context); if (result.getResult() != MatchResult.MATCH) break; } return result; }