default :
throw new IllegalArgumentException("Invalid section type in '" +
dbTokens.getFile().getName() + "'");
}
if (parentNode != null) {
final Match match = new FTMatch(-1, nodeId, word.toString(), freq);
readOccurrences(freq, is, match, word.length());
final int sizeHint = contextSet.getSizeHint(storedDocument);
if (axis == NodeSet.ANCESTOR) {
parentNode.addMatch(match);
result.add(parentNode, sizeHint);
} else {
storedNode.addMatch(match);
result.add(storedNode, sizeHint);
}
} else
{is.skip(freq);}
} else {
final Match match = new FTMatch(-1, nodeId, word.toString(), freq);
readOccurrences(freq, is, match, word.length());
storedNode.addMatch(match);
result.add(storedNode, Constants.NO_SIZE_HINT);
}
}