Map<String,FacetAccessible> facetMap = res.getFacetMap();
Set<Entry<String,FacetAccessible>> entries = facetMap.entrySet();
for (Entry<String,FacetAccessible> entry : entries)
{
List<BrowseFacet> facets = entry.getValue().getFacets();
SerializedFacetAccessible facetAccessible = new SerializedFacetAccessible(facets);
serializableResult.addFacets(entry.getKey(), facetAccessible);
}
return serializableResult;
}
catch(IOException ioe)