}
} else if (Type.LINKED == info.getType()) {
if (ContentType.FILE == info.getContentType()) {
doc = new FileLinkedDocument(info);
} else if (ContentType.WEB == info.getContentType()) {
doc = new WebLinkedDocument(info);
}
}
if (doc != null) {
doc.setSource(source);
}