return new XMLReportNodeHandler(element.element("package"), node);
case CLASS:
return new XMLReportNodeHandler(element.element("class"), node);
case METHOD:
final XMLElement methodChild = element.element("method");
final IMethodCoverage methodNode = (IMethodCoverage) node;
methodChild.attr("desc", methodNode.getDesc());
final int line = methodNode.getFirstLine();
if (line != -1) {
methodChild.attr("line", line);
}
return new XMLReportNodeHandler(methodChild, node);
case SOURCEFILE: