/** * Get the {@link PropertyEditor}, if any, in use for value bound to this tag. */ @Nullable protected PropertyEditor getPropertyEditor() throws JspException { return getBindStatus().getEditor(); }
/** * Build the property path for this tag, including the nested path * but <i>not</i> prefixed with the name of the form attribute. * @see #getNestedPath() * @see #getPath() */ protected String getPropertyPath() throws JspException { String expression = getBindStatus().getExpression(); return (expression != null ? expression : ""); }
/** * Get the bound value. * @see #getBindStatus() */ @Nullable protected final Object getBoundValue() throws JspException { return getBindStatus().getValue(); }
/** * Get a display String for the given value, converted by a PropertyEditor * that the BindStatus may have registered for the value's Class. */ protected String convertToDisplayString(@Nullable Object value) throws JspException { PropertyEditor editor = (value != null ? getBindStatus().findEditor(value.getClass()) : null); return getDisplayString(value, editor); }
/** * Build the property path for this tag, including the nested path * but <i>not</i> prefixed with the name of the form attribute. * @see #getNestedPath() * @see #getPath() */ protected String getPropertyPath() throws JspException { String expression = getBindStatus().getExpression(); return (expression != null ? expression : ""); }
/** * Get the bound value. * @see #getBindStatus() */ @Nullable protected final Object getBoundValue() throws JspException { return getBindStatus().getValue(); }
/** * Get the {@link PropertyEditor}, if any, in use for value bound to this tag. */ @Nullable protected PropertyEditor getPropertyEditor() throws JspException { return getBindStatus().getEditor(); }
/** * Get a display String for the given value, converted by a PropertyEditor * that the BindStatus may have registered for the value's Class. */ protected String convertToDisplayString(@Nullable Object value) throws JspException { PropertyEditor editor = (value != null ? getBindStatus().findEditor(value.getClass()) : null); return getDisplayString(value, editor); }
/** * Get the bound value. * @see #getBindStatus() */ protected final Object getBoundValue() throws JspException { return getBindStatus().getValue(); }
/** * Get the {@link PropertyEditor}, if any, in use for value bound to this tag. */ protected PropertyEditor getPropertyEditor() throws JspException { return getBindStatus().getEditor(); }
/** * Get a display String for the given value, converted by a PropertyEditor * that the BindStatus may have registered for the value's Class. */ protected String convertToDisplayString(Object value) throws JspException { PropertyEditor editor = (value != null ? getBindStatus().findEditor(value.getClass()) : null); return getDisplayString(value, editor); }