Class Overview
Convenience methods for looking up BindingResults in a model Map.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
BindingResultUtils
()
Public Methods
public
static
BindingResult
getBindingResult
(Map model, String name)
Find the BindingResult for the given name in the given model.
Parameters
model
| the model to search |
name
| the name of the target object to find a BindingResult for |
Returns
- the BindingResult, or
null
if none found
public
static
BindingResult
getRequiredBindingResult
(Map model, String name)
Find a required BindingResult for the given name in the given model.
Parameters
model
| the model to search |
name
| the name of the target object to find a BindingResult for |
Returns
- the BindingResult (never
null
)