Can be used as errors holder for custom binding onto a Map, for example when invoking a Validator for a Map object.
java.util.Map
| Access | Constructor and Description |
|---|---|
| public | MapBindingResult(Map<?, ?>
the target Map to bind onto target, String the name of the target object objectName)Create a new MapBindingResult instance. |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | getActualFieldValue(String
the field to check field)Implements abstract org. Extract the actual field value for the given field. |
| public final Object | getTarget()
Implements abstract org. Implements org. Return the wrapped target object. |
| public final Map |
| target | back to summary |
|---|---|
| private final Map<?, ?> target | |
| MapBindingResult | back to summary |
|---|---|
| public MapBindingResult(Map<?, ?> target, String objectName) Create a new MapBindingResult instance. | |
| getActualFieldValue | back to summary |
|---|---|
| protected Object getActualFieldValue(String field) Implements abstract org. Doc from org. Extract the actual field value for the given field. | |
| getTarget | back to summary |
|---|---|
| public final Object getTarget() Implements abstract org. Implements org. Doc from org. Return the wrapped target object. | |
| getTargetMap | back to summary |
|---|---|
| public final Map Return the target Map to bind onto. | |