org.shept.org.springframework.web.bind.support
public class ComponentDataBinder extends org.springframework.web.bind.support.WebRequestDataBinder
| Modifier and Type | Field and Description |
|---|---|
private Map<String,ComponentValidator> |
validatorsForPath
Deprecated.
|
| Constructor and Description |
|---|
ComponentDataBinder(Object target) |
ComponentDataBinder(Object target,
String objectName) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindAndValidate(org.springframework.web.context.request.ServletWebRequest request,
ComponentToken token) |
org.springframework.validation.Validator |
getValidator() |
ComponentValidator |
getValidator(String path)
Deprecated.
|
Map<String,ComponentValidator> |
getValidatorsForPath()
Deprecated.
|
void |
setValidator(String path,
ComponentValidator validator) |
void |
setValidatorsForPath(Map<String,ComponentValidator> validatorsForPath)
Deprecated.
|
void |
validate()
Invoke the specified Validator, if any.
|
bind, closeNoCatchbindMultipart, bindMultipartFiles, checkFieldDefaults, checkFieldMarkers, doBind, getEmptyValue, getFieldDefaultPrefix, getFieldMarkerPrefix, isBindEmptyMultipartFiles, setBindEmptyMultipartFiles, setFieldDefaultPrefix, setFieldMarkerPrefixapplyPropertyValues, bind, checkAllowedFields, checkRequiredFields, close, convertIfNecessary, convertIfNecessary, findCustomEditor, getAllowedFields, getBindingErrorProcessor, getBindingResult, getConversionService, getDisallowedFields, getErrors, getInternalBindingResult, getObjectName, getPropertyAccessor, getPropertyEditorRegistry, getRequiredFields, getSimpleTypeConverter, getTarget, getTypeConverter, initBeanPropertyAccess, initDirectFieldAccess, isAllowed, isAutoGrowNestedPaths, isIgnoreInvalidFields, isIgnoreUnknownFields, registerCustomEditor, registerCustomEditor, setAllowedFields, setAutoGrowNestedPaths, setBindingErrorProcessor, setConversionService, setDisallowedFields, setExtractOldValueForEditor, setIgnoreInvalidFields, setIgnoreUnknownFields, setMessageCodesResolver, setRequiredFields, setValidator@Deprecated private Map<String,ComponentValidator> validatorsForPath
public ComponentDataBinder(Object target)
public void bindAndValidate(org.springframework.web.context.request.ServletWebRequest request,
ComponentToken token)
public void validate()
validate in class org.springframework.validation.DataBinderDataBinder.setValidator(Validator),
DataBinder.getBindingResult()public org.springframework.validation.Validator getValidator()
getValidator in class org.springframework.validation.DataBinderpublic void setValidator(String path, ComponentValidator validator)
@Deprecated public ComponentValidator getValidator(String path)
@Deprecated public Map<String,ComponentValidator> getValidatorsForPath()
@Deprecated public void setValidatorsForPath(Map<String,ComponentValidator> validatorsForPath)
validatorsForPath - the validatorsForPath to setCopyright © 2014. All Rights Reserved.