protected Map<Class<?>, Converter<?>> getConverters() { if (converters == null) { loadDefaultConverters(); } return converters; }
protected Map<Class<?>, Converter<?>> getConverters() { if (converters == null) { loadDefaultConverters(); } return converters; }
/** * Set the object converters to add to the default converters * @param converters a map of converters to add to the default set */ public void setConverters(Map<Class<?>, Converter<?>> converters) { loadDefaultConverters(); if (converters != null) { for (Entry<Class<?>, Converter<?>> entry : converters.entrySet()) { if (entry.getKey() != null && entry.getValue() != null) { this.converters.put(entry.getKey(), entry.getValue()); } } } } protected Map<Class<?>, Converter<?>> getConverters() {
/** * Set the object converters to add to the default converters * @param converters a map of converters to add to the default set */ public void setConverters(Map<Class<?>, Converter<?>> converters) { loadDefaultConverters(); if (converters != null) { for (Entry<Class<?>, Converter<?>> entry : converters.entrySet()) { if (entry.getKey() != null && entry.getValue() != null) { this.converters.put(entry.getKey(), entry.getValue()); } } } } protected Map<Class<?>, Converter<?>> getConverters() {