|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Validator api.
Method Summary | |
void |
assertValidity(java.lang.String testValue)
Determine whether a testValue meets the criteria specified in the constraints defined for this validator |
java.lang.String |
getMessage()
Get the last error message resulting from invalid input. |
boolean |
isValid(java.lang.String testValue)
Determine whether a testValue meets the criteria specified in the constraints defined for this validator |
Method Detail |
public boolean isValid(java.lang.String testValue)
testValue
- a String
to be testedpublic void assertValidity(java.lang.String testValue) throws ValidationException
testValue
- a String
to be testedValidationException
- containing an error message if the
testValue did not pass the validation tests.public java.lang.String getMessage()
String
message, or the empty String "".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |