|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.validation.BindingResultUtils
public abstract class BindingResultUtils
Convenience methods for looking up BindingResults in a model Map.
BindingResult.MODEL_KEY_PREFIX| Constructor Summary | |
|---|---|
BindingResultUtils()
|
|
| Method Summary | |
|---|---|
static BindingResult |
getBindingResult(java.util.Map model,
java.lang.String name)
Find the BindingResult for the given name in the given model. |
static BindingResult |
getRequiredBindingResult(java.util.Map model,
java.lang.String name)
Find a required BindingResult for the given name in the given model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindingResultUtils()
| Method Detail |
|---|
public static BindingResult getBindingResult(java.util.Map model,
java.lang.String name)
model - the model to searchname - the name of the target object to find a BindingResult for
null if none found
java.lang.IllegalStateException - if the attribute found is not of type BindingResult
public static BindingResult getRequiredBindingResult(java.util.Map model,
java.lang.String name)
model - the model to searchname - the name of the target object to find a BindingResult for
null)
java.lang.IllegalStateException - if no BindingResult found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||