private NodeIterator collectNodes(String value, Set props, Name ntName,
NodeIterator nodes, boolean exact,
long maxSize) {
Set matchSet = new HashSet();
collectNodes(value, props, ntName, nodes, matchSet, exact, maxSize);
return new NodeIteratorAdapter(matchSet);
}