| java.lang.Object org.springframework.validation.AbstractBindingResult org.springframework.validation.MapBindingResult
MapBindingResult | public class MapBindingResult extends AbstractBindingResult implements Serializable(Code) | | Map-based implementation of the BindingResult interface,
supporting registration and evaluation of binding errors on
Map attributes.
Can be used as errors holder for custom binding onto a
Map, for example when invoking a Validator for a Map object.
author: Juergen Hoeller since: 2.0 See Also: java.util.Map |
MapBindingResult | public MapBindingResult(Map target, String objectName)(Code) | | Create a new MapBindingResult instance.
Parameters: target - the target Map to bind onto Parameters: objectName - the name of the target object |
getTargetMap | final public Map getTargetMap()(Code) | | |
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)
|
|
|