}
return (TableTag) reportNode.elements().nextNode();
}
private RcovFileResult parseRow(TableRow row) throws ParserException, IOException {
final RcovFileResult file = new RcovFileResult();
NodeList nodeList = new NodeList();
row.collectInto(nodeList, new TagNameFilter("a"));
String linkPath = null;
if (nodeList.size() > 0) {
LinkTag link = (LinkTag) nodeList.elementAt(0);
linkPath = link.getLink();
file.setHref(link.getLink().replaceAll(".html", ""));
file.setName(link.getLinkText());
}
TableColumn[] columns = row.getColumns();
file.setTotalLines(getTextFromTT(columns[1]));
file.setCodeLines(getTextFromTT(columns[2]));
file.setTotalCoverage(getTextFromTT(columns[3]));
file.setCodeCoverage(getTextFromTT(columns[4]));
return file;
}