if (result.getVal(i).getClass().equals(Integer.class))
{
StringTokenizer st = new StringTokenizer(
(result.getName(i)).toString(),
DELIM_LATITUDE_LONGITUDE);
MapPointBean mapPointBean = new MapPointBean(
st.nextToken(), st.nextToken(),
(Integer) result.getVal(i));
fullData.add(mapPointBean);
}
}
catch (Exception e)
{
fullData.add(new MapPointBean(_NotAvailable, _NotAvailable,
null));
e.printStackTrace();
}
}
mapDataBean.setHits(result.size());
mapDataBean.setDataTable(fullData);
try
{
mapDataBean.setPercentages();
}
catch (Exception e)
{
e.printStackTrace();
}
}
catch (Exception e)
{
log.warn(e.getMessage());
fullData.add(new MapPointBean(_NotAvailable, _NotAvailable, null));
}
return mapDataBean;
}