}
return (TableTag) node.elements().nextNode();
}
private SaikuroFileResult parseRow(TableRow row) throws ParserException, IOException {
final SaikuroFileResult file = new SaikuroFileResult();
NodeList nodeList = new NodeList();
row.collectInto(nodeList, new TagNameFilter("a"));
if (nodeList.size() > 0) {
LinkTag link = (LinkTag) nodeList.elementAt(0);
file.setHref(link.getLink()
.replaceAll("_cyclo.html", "")
.replaceAll("\\./", "")
.replaceAll("/", "-").trim());
file.setClassName(link.getLinkText());
}
NodeList columnList = new NodeList();
row.collectInto(columnList, new TagNameFilter(TD_TAG_NAME));
if (columnList.size() > 0) {
file.setMethodName(getTextAtNode(columnList, 1));
file.setComplexity(getTextAtNode(columnList, 2));
}
return file;
}