}
Set resultPaths = new HashSet();
log.println("result:");
for (RowIterator it = result.getRows(); it.hasNext();) {
Row r = (Row) it.nextRow();
StringBuffer aggregatedPaths = new StringBuffer();
for (int i = 0; i < selectorNames.length; i++) {
aggregatedPaths.append(getPath(r.getNode(selectorNames[i])));
aggregatedPaths.append("|");
}
resultPaths.add(aggregatedPaths.toString());
log.println(aggregatedPaths.toString());
}