for (int n = 0; n < results.length; ++n)
{
//
// convert XML -> MCR and then use its isMatch() to do the work
//
MembershipContentRule mcr = new SimpleMembershipContentRule(results[n]);
mcr.setServiceGroupEPR(getEndpointReference());
if (!mcr.isMatch(epr))
return false;
}
return true;
}