throw new NoRecordsMatchException("No records match the given criteria.");
}
ArrayList<Object> ret = new ArrayList<Object>();
for (int i = 0; i < l.size(); i++) {
ObjectFields f = (ObjectFields) l.get(i);
ret.add(new SimpleRecord(getHeader(f), getDCXML(f), s_emptySet));
}
if (fsr.getToken() != null) {
// add resumptionToken stuff
ret.add(new SimpleResumptionToken(fsr.getToken(), fsr
.getExpirationDate(), fsr.getCompleteListSize(), fsr