if (checkType.isSetCheckContent()) {
throw new ComplexCheckException(CheckedItem.Result.NOTCHECKED,
"In-line check content not supported");
}
XCCDFCheck check = RuleImpl.newCheck(document, checkType);
addCheckingUnit(check);
} else if (xmlObject instanceof ComplexCheckType) {
ComplexCheck check = new ComplexCheckImpl(document, (ComplexCheckType)xmlObject);
addCheckingUnit(check);
}