* @return the resultant records
* @throws SearchException if an exception occurs
*/
public CswRecords parseResponse(String cswResponse)
throws SearchException {
CswResult results = new CswResult();
try {
getCswProfile().readGetRecordsResponse(cswResponse,
results);
LOG.log(Level.FINE, "Number of records returned {0}", results.getRecords().getSize());
} catch (Exception e) {
throw new SearchException(e);
}
return results.getRecords();
}