result = URLDecoder.decode(value, "UTF-8");
} else {
result = value;
}
} catch (UnsupportedEncodingException e) {
throw new CougarFrameworkException("Unsupported encoding", e);
}
}
else if (clazz == Integer.class) {
result = Integer.valueOf(value);
} else if (clazz == Byte.class) {