| java.lang.Object org.springframework.validation.AbstractBindingResult org.springframework.validation.AbstractPropertyBindingResult
All known Subclasses: org.springframework.validation.DirectFieldBindingResult, org.springframework.validation.BeanPropertyBindingResult,
AbstractPropertyBindingResult | protected AbstractPropertyBindingResult(String objectName)(Code) | | Create a new AbstractPropertyBindingResult instance.
Parameters: objectName - the name of the target object See Also: DefaultMessageCodesResolver |
getCustomEditor | public PropertyEditor getCustomEditor(String field)(Code) | | Retrieve the custom PropertyEditor for the given field, if any.
Parameters: field - the field name the custom PropertyEditor, or null |
getPropertyAccessor | abstract public ConfigurablePropertyAccessor getPropertyAccessor()(Code) | | Provide the PropertyAccessor to work with, according to the
concrete strategy of access.
Note that a PropertyAccessor used by a BindingResult should
always have its "extractOldValueForEditor" flag set to "true"
by default, since this is typically possible without side effects
for model objects that serve as data binding target.
See Also: ConfigurablePropertyAccessor.setExtractOldValueForEditor |
Methods inherited from org.springframework.validation.AbstractBindingResult | public void addAllErrors(Errors errors)(Code)(Java Doc) public void addError(ObjectError error)(Code)(Java Doc) protected String canonicalFieldName(String field)(Code)(Java Doc) protected void doSetNestedPath(String nestedPath)(Code)(Java Doc) public boolean equals(Object other)(Code)(Java Doc) protected String fixedField(String field)(Code)(Java Doc) protected Object formatFieldValue(String field, Object value)(Code)(Java Doc) abstract protected Object getActualFieldValue(String field)(Code)(Java Doc) public List getAllErrors()(Code)(Java Doc) public int getErrorCount()(Code)(Java Doc) public FieldError getFieldError()(Code)(Java Doc) public FieldError getFieldError(String field)(Code)(Java Doc) public int getFieldErrorCount()(Code)(Java Doc) public int getFieldErrorCount(String field)(Code)(Java Doc) public List getFieldErrors()(Code)(Java Doc) public List getFieldErrors(String field)(Code)(Java Doc) public Class getFieldType(String field)(Code)(Java Doc) public Object getFieldValue(String field)(Code)(Java Doc) public ObjectError getGlobalError()(Code)(Java Doc) public int getGlobalErrorCount()(Code)(Java Doc) public List getGlobalErrors()(Code)(Java Doc) public MessageCodesResolver getMessageCodesResolver()(Code)(Java Doc) public Map getModel()(Code)(Java Doc) public String getNestedPath()(Code)(Java Doc) public String getObjectName()(Code)(Java Doc) public PropertyEditorRegistry getPropertyEditorRegistry()(Code)(Java Doc) public String[] getSuppressedFields()(Code)(Java Doc) abstract public Object getTarget()(Code)(Java Doc) public boolean hasErrors()(Code)(Java Doc) public boolean hasFieldErrors()(Code)(Java Doc) public boolean hasFieldErrors(String field)(Code)(Java Doc) public boolean hasGlobalErrors()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) protected boolean isMatchingFieldError(String field, FieldError fieldError)(Code)(Java Doc) public void popNestedPath() throws IllegalArgumentException(Code)(Java Doc) public void pushNestedPath(String subPath)(Code)(Java Doc) public void recordSuppressedField(String fieldName)(Code)(Java Doc) public void reject(String errorCode)(Code)(Java Doc) public void reject(String errorCode, String defaultMessage)(Code)(Java Doc) public void reject(String errorCode, Object[] errorArgs, String defaultMessage)(Code)(Java Doc) public void rejectValue(String field, String errorCode)(Code)(Java Doc) public void rejectValue(String field, String errorCode, String defaultMessage)(Code)(Java Doc) public void rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage)(Code)(Java Doc) public String[] resolveMessageCodes(String errorCode)(Code)(Java Doc) public String[] resolveMessageCodes(String errorCode, String field)(Code)(Java Doc) public void setMessageCodesResolver(MessageCodesResolver messageCodesResolver)(Code)(Java Doc) public void setNestedPath(String nestedPath)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|