//pos = result.parseToken(token);
pos = GeonetworkResumptionToken.getPos(req);
}
ListResponse res = processRequest(req,pos,result,context);
pos = pos + res.getSize();
if (token == null && res.getSize() == 0)
throw new NoRecordsMatchException("No results");
//result.setupToken(res, pos);
if (token != null) token.setupToken(pos);
res.setResumptionToken(token);
return res;
}