for (int iEntry = 0; iEntry < content.size(); iEntry++) {
DatabaseGroupNode entry = (DatabaseGroupNode)_database.get(content.get(iEntry).identifier());
if (_query.getVersionClause() != null) {
entry = this.versionReader(entry, _query.getVersionClause().getTimestamp());
if (entry != null) {
new AbsoluteXPathConsumer().consume(entry, _query.rootTargetPath(), queryHandler);
}
} else { // This is dead code because version clause defaults to NOW.
// Could handle "interpret missing version as NOW" here.
new AbsoluteXPathConsumer().consume(entry, _query.rootTargetPath(), queryHandler);
}
}
return result;
}