String key = entry.getKey();
String val = entry.getValue();
log.debug("token entry (" + key + ") with value (" + val + ")");
Property property = properties.get(key);
if (property == null)
{
log.warn("Missing java bean property to match javascript property: " + key + ". For causes see debug level logs:");
log.debug("- The javascript may be refer to a property that does not exist");
log.debug("- You may be missing the correct setter: set" + Character.toTitleCase(key.charAt(0)) + key.substring(1) + "()");
log.debug("- The property may be excluded using include or exclude rules.");
StringBuffer all = new StringBuffer();
for (Iterator<String> pit = properties.keySet().iterator(); pit.hasNext();)
{
all.append(pit.next());
if (pit.hasNext())
{
all.append(',');
}
}
log.debug("Fields exist for (" + all + ").");
continue;
}
Class<?> propType = property.getPropertyType();
Object output = convert(val, propType, data.getContext(), property);
property.setValue(bean, output);
}
return bean;
}
catch (ConversionException ex)