/** * Returns the field value run through all converters and validators, * but doesn't pass the {@link BindingValidationStatus} to any status * handler. * * @return the result of the conversion */ private Result<TARGET> doConversion() { FIELDVALUE fieldValue = field.getValue(); return converterValidatorChain.convertToModel(fieldValue, createValueContext()); }
private FIELDVALUE convertDataToFieldType(BEAN bean) { TARGET target = getter.apply(bean); ValueContext valueContext = createValueContext(); return converterValidatorChain.convertToPresentation(target, valueContext); }