if (checkContentData.isEmpty()) {
checkContent = Collections.emptyList();
} else {
checkContent = new ArrayList<CheckContentRef>(checkContentData.size());
for (CheckContentRefType node : checkContentData) {
checkContent.add(new CheckContentRef(node.getHref(), node.getName()));
}
}
Set<ValueCheckExport> exports = getCheckExports(document, checkType);
Set<CheckImport> imports = getCheckImports(document, checkType);