}
if (contentType == null){
LOG.info("Missing content type... can't parse...");
}
else {
Parser parser = droid.getParserFactory().getParser(contentType);
if( parser == null ) {
if (LOG.isDebugEnabled()) {
LOG.debug("Could not find parser for " + contentType);
}
}
else {
Parse parse = parser.parse(entity, link);
if( parse.getNewTasks() != null && parse.isFollowed() ) {
Collection<Link> outlinks = getFilteredOutlinks( parse );
droid.getQueue().addAll( outlinks );
}
entity.setParse(parse);