protected Map createDefaultContext(Object root) { return createDefaultContext(root, null); }
protected Map createDefaultContext(Object root) { return createDefaultContext(root, null); }
protected Map createDefaultContext(Object root) { return createDefaultContext(root, null); }
/** * Sets the properties on the object using the default context. * * @param properties the property map to set on the object * @param o the object to set the properties into * @param throwPropertyExceptions boolean which tells whether it should throw exceptions for * problems setting the properties */ public void setProperties(Map<String, ?> properties, Object o, boolean throwPropertyExceptions) { Map context = createDefaultContext(o, null); setProperties(properties, o, context, throwPropertyExceptions); }
final Map sourceMap = createDefaultContext(source, null); PropertyDescriptor[] propertyDescriptors = getPropertyDescriptors(source); for (PropertyDescriptor propertyDescriptor : propertyDescriptors) {
final Map contextFrom = createDefaultContext(from, null); Ognl.setTypeConverter(contextFrom, conv); final Map contextTo = createDefaultContext(to, null); Ognl.setTypeConverter(contextTo, conv);