* @return a Map of parameters from the provided {@link GenericHandler}
*/
private Map buildGenericMap(GenericHandler handler) {
Map result = new HashMap();
for (int i = 0; i < handler.sizeReportList(); i++) {
GenericHandlerParam param = handler.getGenericHandlerParam(i);
if (param != null) {
result.put(param.getName(), param.getValue());
}
}
return result;
}