|
OOP FormGenerator Version 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface for checking the validity of the given String.
Assuming that you request the users to type their age into
one of the text field in your CGI FORM.
The destination Servlet/JSP should accept the String only
with digits (0-9). In case that the users types something
like "abc", the input should be treated as invalid.
And your Servlet/JSP should request the users to re-enter the
correct input.
The implementation of this interface will be used by the
instance of Form to check the validity of the String
to be inserted.
The list of the available implementations should be
listed in:
isValidString(String)
| Method Summary | |
boolean |
isValidString(java.lang.String str)
This method will be used by Form to check the
validity of the String to be inserted. |
| Method Detail |
public boolean isValidString(java.lang.String str)
Form to check the
validity of the String to be inserted.
str - The String to be inserted.
|
OOP FormGenerator Version 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ALL CONTENTS COPYRIGHT 2002, Jun Inamori. All rights reserved.
Any questions and comments are welcome to Jun Inamori.