OOP FormGenerator Version 3.1

Package com.oopreserch.web

OOP FormGenerator API Version 3.1

This API is useful for generating the CGI FORM on the fly.

See:
          Description

Interface Summary
FormValueBreaker The interface for replacing the line separator with the tag for line break.
FormValueEscaper The interface for getting the escaped String.
FormValueVerifier The interface for checking the validity of the given String.
 

Class Summary
AbstractVerifier The abstarct class which implements usefull methods to be used by its subclass.
AbstractVerifierByRegEx The base class for FormValueVerifier implementations, which use java.util.regex package.
AcceptAny Implementation of FormValueVerifier interface.
BreakForHtml The implementation of FormValueBreaker interface.
BreakForXml The implementation of FormValueBreaker interface.
EscapeForHdml The implementation of FormValueEscaper interface.
EscapeForHtml The implementation of FormValueEscaper interface.
EscapeForWml The implementation of FormValueEscaper interface.
EscapeForXml The implementation of FormValueEscaper interface.
Form Insert the arbitrary Strings into the code fragments and merge them all.
FormGenerator The factory and pool of Form instances.
FormValueBreakerFactory Used by Form to get the specified implementation of FormValueBreaker.
FormValueEscaperFactory Used by Form to get the specified implementation of FormValueEscaper.
FormValueVerifierFactory Used by Form to get the specified implementation of FormValueVerifier.
IsAlphabet Implementation of FormValueVerifier interface.
IsAlphabetLower Implementation of FormValueVerifier interface.
IsAlphabetUpper Implementation of FormValueVerifier interface.
IsBasicLatin Implementation of FormValueVerifier interface.
IsDigit Implementation of FormValueVerifier interface.
IsDigitOrAlphabet Implementation of FormValueVerifier interface.
IsDouble Implementation of FormValueVerifier interface.
IsEmailAddress Implementation of FormValueVerifier interface.
IsInteger Implementation of FormValueVerifier interface.
IsJpFullWidth Implementation of FormValueVerifier interface.
IsJpFullWidthKatakana Implementation of FormValueVerifier interface.
IsJpHalfWidth Implementation of FormValueVerifier interface.
IsJpHalfWidthKatakana Implementation of FormValueVerifier interface.
IsJpHiragana Implementation of FormValueVerifier interface.
IsJpPostalAddress Implementation of FormValueVerifier interface.
IsJpPostalCode Implementation of FormValueVerifier interface.
IsTelephone Implementation of FormValueVerifier interface.
UrlEncodeAscii The implementation of FormValueEscaper interface.
UrlEncodeShiftJis The implementation of FormValueEscaper interface.
UrlEncodeUtf8 The implementation of FormValueEscaper interface.
 

Package com.oopreserch.web Description

OOP FormGenerator API Version 3.1

This API is useful for generating the CGI FORM on the fly. It reads a set of code fragments from the XML, inserts the arbitrary Strings between them, and merges them all. A set of request parameters in the HttpServletRequest can be inserted into the code fragments at a time. In this case, the validity of each request parameter can be determined automatically. Based on the validity of the String to be inserted, the appropriate code fragments will be selected. By this way, your JSP/Servlet can check the input from the users and ask them to fix the incorrect input if something is wrong.

The following API is required :

It is included in the distribution of Apache Tomcat, so you need not install JAXP explicitly. About the latest release and the updated information (such as the new examples), please visit our web site.


OOP FormGenerator Version 3.1

ALL CONTENTS COPYRIGHT 2002, Jun Inamori. All rights reserved.
Any questions and comments are welcome to Jun Inamori.