XmlbeansResultHandler<RULE_RESULT, CHECK_RESULT> handler = getXmlbeansResultHandler();
for (RuleResultRecord record : result.getRuleResultRecords()) {
RULE_RESULT ruleResult = handler.handleRuleResult(record);
CheckingUnitResult checkingUnitResult = record.getCheckingUnitResult();
if (checkingUnitResult != null) {
handleCheckingUnitResult(checkingUnitResult, ruleResult);
}
}
}