|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Validator.Result
Post-validation state. Enables access to the value object and failure case details like error messages.
| Method Summary | |
|---|---|
String |
get()
If valid returns the value in string form. |
String |
getErrorMessage()
If validation failed, the reason is found here in plain text. |
String |
getErrorMessageHtml()
If validation failed, the reason is found here in html. |
boolean |
isValid()
Whether the validation succeeded. |
| Method Detail |
|---|
boolean isValid()
String getErrorMessage()
String getErrorMessageHtml()
String get()
throws IllegalStateException
IllegalStateException - if the result is not valid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||