list = server.listIdentifiers(metaDataPrefix);
} else {
if (!(q instanceof QueryDateRange))
throw new QueryValidationException("Unsupported query type");
list = server.listIdentifiers(metaDataPrefix, dateFormat.format(((QueryDateRange) q).getStartDate().getTime()), dateFormat.format(((QueryDateRange) q).getEndDate().getTime()), set);
}
for (Header header : list.asList()) {
try {
resultList.add(new URI(header.getIdentifier()));