String visibleUrl = (String) searchItem.get(VISIBLE_URL);
String url = (String) searchItem.get(URL);
String GsearchResultClass = (String) searchItem.get(GSEARCH_RESULT_CLASS);
// Fill the GoogleSearchResultItem.
GoogleSearchResultItem googleSearchResultItem = new GoogleSearchResultItem();
googleSearchResultItem.setTitle(title);
googleSearchResultItem.setTitleNotFormatting(titleNotFormatting);
googleSearchResultItem.setContent(content);
googleSearchResultItem.setCacheUrl(cacheUrl);
googleSearchResultItem.setUnescapedUrl(unescapedUrl);
googleSearchResultItem.setVisibleUrl(visibleUrl);
googleSearchResultItem.setUrl(url);
googleSearchResultItem.setGsearchResultClass(GsearchResultClass);
searchResults.add(googleSearchResultItem);
}
return searchResults;