List values = new ArrayList();
for ( Enumeration e = searchMethod.getAllResponseURLs(); e.hasMoreElements(); ) {
Map searchResults = new HashMap();
String uri = (String)e.nextElement();
for ( Enumeration pe = searchMethod.getResponseProperties(uri); pe.hasMoreElements(); ) {
Property property = (Property)pe.nextElement();
searchResults.put(property.getLocalName(), property.getPropertyAsString());
}
if ( uri.indexOf(domain) != -1 ) {
uri = uri.substring(uri.indexOf(domain)+domain.length());
}
searchResults.put("uri", uri);