OOP FormGenerator Version 2.0
A B C E F G I N P R S U

A

AbstractVerifier - class com.oopreserch.web.AbstractVerifier.
The abstarct class which implements usefull methods to be used by its subclass.
AbstractVerifier() - Constructor for class com.oopreserch.web.AbstractVerifier
 
AcceptAny - class com.oopreserch.web.AcceptAny.
Implementation of FormValueVerifier interface.
AcceptAny() - Constructor for class com.oopreserch.web.AcceptAny
 

B

BreakForHtml - class com.oopreserch.web.BreakForHtml.
The implementation of FormValueBreaker interface.
BreakForHtml() - Constructor for class com.oopreserch.web.BreakForHtml
 
BreakForXml - class com.oopreserch.web.BreakForXml.
The implementation of FormValueBreaker interface.
BreakForXml() - Constructor for class com.oopreserch.web.BreakForXml
 

C

charset - Variable in class com.oopreserch.web.UrlEncodeAscii
 
clear() - Method in class com.oopreserch.web.Form
Set all the values to the empty String and their validity to true.
com.oopreserch.util - package com.oopreserch.util
The classes and interfaces required for OOP FormGenerator API.
com.oopreserch.web - package com.oopreserch.web
OOP FormGenerator API Version 2.0

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

E

EscapeForHdml - class com.oopreserch.web.EscapeForHdml.
The implementation of FormValueEscaper interface.
EscapeForHdml() - Constructor for class com.oopreserch.web.EscapeForHdml
 
EscapeForHtml - class com.oopreserch.web.EscapeForHtml.
The implementation of FormValueEscaper interface.
EscapeForHtml() - Constructor for class com.oopreserch.web.EscapeForHtml
 
EscapeForWml - class com.oopreserch.web.EscapeForWml.
The implementation of FormValueEscaper interface.
EscapeForWml() - Constructor for class com.oopreserch.web.EscapeForWml
 
EscapeForXml - class com.oopreserch.web.EscapeForXml.
The implementation of FormValueEscaper interface.
EscapeForXml() - Constructor for class com.oopreserch.web.EscapeForXml
 

F

Form - class com.oopreserch.web.Form.
Insert the arbitrary Strings into the code fragments and merge them all.
FormGenerator - class com.oopreserch.web.FormGenerator.
The factory and pool of Form instances.
FormValueBreaker - interface com.oopreserch.web.FormValueBreaker.
The interface for replacing the line separator with the tag for line break.
FormValueBreakerFactory - class com.oopreserch.web.FormValueBreakerFactory.
Used by Form to get the specified implementation of FormValueBreaker.
FormValueEscaper - interface com.oopreserch.web.FormValueEscaper.
The interface for getting the escaped String.
FormValueEscaperFactory - class com.oopreserch.web.FormValueEscaperFactory.
Used by Form to get the specified implementation of FormValueEscaper.
FormValueVerifier - interface com.oopreserch.web.FormValueVerifier.
The interface for checking the validity of the given String.
FormValueVerifierFactory - class com.oopreserch.web.FormValueVerifierFactory.
Used by Form to get the specified implementation of FormValueVerifier.

G

getBreaked(String) - Method in interface com.oopreserch.web.FormValueBreaker
This method will be used by Form to replace the line separators with the tags for line break.
getBreaked(String) - Method in class com.oopreserch.web.BreakForXml
Replace the line separators with the tags for line break, <br />.
getBreaked(String) - Method in class com.oopreserch.web.BreakForHtml
Replace the line separators with the tags for line break, <br>.
getCharacterEncoding() - Method in class com.oopreserch.web.Form
Returns the character encoding of the original XML.
getContentType() - Method in class com.oopreserch.web.Form
Returns the content-type specified by content.type element in the XML.
getEscaped(String) - Method in class com.oopreserch.web.UrlEncodeAscii
URL-encode the given String by ISO-8859-1.
getEscaped(String) - Method in interface com.oopreserch.web.FormValueEscaper
This method will be used by Form to escape the String to be inserted.
getEscaped(String) - Method in class com.oopreserch.web.EscapeForXml
Escape the special characters for XML.
getEscaped(String) - Method in class com.oopreserch.web.EscapeForWml
Escape the special characters for WML.
getEscaped(String) - Method in class com.oopreserch.web.EscapeForHtml
Escape the special characters for HTML.
getEscaped(String) - Method in class com.oopreserch.web.EscapeForHdml
Escape the special characters for HDML.
getForm(String) - Method in class com.oopreserch.web.FormGenerator
Return the instance of Form.
getForm(String, Locale) - Method in class com.oopreserch.web.FormGenerator
Return the instance of Form for the specified XML and Locale.
getHTML() - Method in class com.oopreserch.web.Form
Deprecated.  
getInstance() - Static method in class com.oopreserch.web.FormGenerator
Returns the instance of this class, which is unique within the web application context.
getMerged() - Method in class com.oopreserch.web.Form
Merge the inserted Strings into the code fragments and return the concatenated Strings.
getMessage() - Method in class com.oopreserch.util.NestedException
Returns the error message of original Throwable.
getOriginal() - Method in class com.oopreserch.util.NestedException
Returns the original Throwable.

I

isAllValid() - Method in class com.oopreserch.web.Form
Return true if all the Strings are valid.
IsAlphabet - class com.oopreserch.web.IsAlphabet.
Implementation of FormValueVerifier interface.
IsAlphabet() - Constructor for class com.oopreserch.web.IsAlphabet
 
isAlphabet(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true if the given char is one of A-Z or a-z.
IsAlphabetLower - class com.oopreserch.web.IsAlphabetLower.
Implementation of FormValueVerifier interface.
IsAlphabetLower() - Constructor for class com.oopreserch.web.IsAlphabetLower
 
isAlphabetLower(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true if the given char is one of a-z.
IsAlphabetUpper - class com.oopreserch.web.IsAlphabetUpper.
Implementation of FormValueVerifier interface.
IsAlphabetUpper() - Constructor for class com.oopreserch.web.IsAlphabetUpper
 
isAlphabetUpper(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true if the given char is one of A-Z.
IsBasicLatin - class com.oopreserch.web.IsBasicLatin.
Implementation of FormValueVerifier interface.
IsBasicLatin() - Constructor for class com.oopreserch.web.IsBasicLatin
 
isBasicLatin(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true if the given char is one of Basic Latin.
IsDigit - class com.oopreserch.web.IsDigit.
Implementation of FormValueVerifier interface.
IsDigit() - Constructor for class com.oopreserch.web.IsDigit
 
isDigit(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true if the given char is one of 0-9.
IsDigitOrAlphabet - class com.oopreserch.web.IsDigitOrAlphabet.
Implementation of FormValueVerifier interface.
IsDigitOrAlphabet() - Constructor for class com.oopreserch.web.IsDigitOrAlphabet
 
isDigitOrAlphabet(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true if the given char is one of 0-9, A-Z or a-z.
IsDouble - class com.oopreserch.web.IsDouble.
Implementation of FormValueVerifier interface.
IsDouble() - Constructor for class com.oopreserch.web.IsDouble
 
IsEmailAddress - class com.oopreserch.web.IsEmailAddress.
Implementation of FormValueVerifier interface.
IsEmailAddress() - Constructor for class com.oopreserch.web.IsEmailAddress
 
isFullWidth(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide characters.
isFullWidthAlphabet(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide a-z or A-Z.
isFullWidthAscii(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide ascii characters.
isFullWidthAsciiSymbol(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide ascii symbols.
isFullWidthBrackets(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide bracktes characters.
isFullWidthDigit(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide 0-9.
isFullWidthSymbol(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide symbol.
isHalfAndFullForms(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true if the given char belongs to Halfwidth and Fullwidth Forms.
isHalfWidth(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the half wide characters.
isHalfWidthCjkPunctuation(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the half wide CJK Punctuation.
isHalfWidthHangul(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the half wide hangul.
isHalfWidthSymbol(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the half wide symbol.
IsInteger - class com.oopreserch.web.IsInteger.
Implementation of FormValueVerifier interface.
IsInteger() - Constructor for class com.oopreserch.web.IsInteger
 
IsJpFullWidth - class com.oopreserch.web.IsJpFullWidth.
Implementation of FormValueVerifier interface.
IsJpFullWidth() - Constructor for class com.oopreserch.web.IsJpFullWidth
 
isJpFullWidth(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the full wide characters.
IsJpFullWidthKatakana - class com.oopreserch.web.IsJpFullWidthKatakana.
Implementation of FormValueVerifier interface.
IsJpFullWidthKatakana() - Constructor for class com.oopreserch.web.IsJpFullWidthKatakana
 
isJpFullWidthKatakana(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the Japanese Zenkaku (full-width) Katakana characters.
IsJpHalfWidth - class com.oopreserch.web.IsJpHalfWidth.
Implementation of FormValueVerifier interface.
IsJpHalfWidth() - Constructor for class com.oopreserch.web.IsJpHalfWidth
 
isJpHalfWidth(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the half wide characters.
IsJpHalfWidthKatakana - class com.oopreserch.web.IsJpHalfWidthKatakana.
Implementation of FormValueVerifier interface.
IsJpHalfWidthKatakana() - Constructor for class com.oopreserch.web.IsJpHalfWidthKatakana
 
isJpHalfWidthKatakana(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the Japanese Hankaku (half-width) Katakana characters.
IsJpHiragana - class com.oopreserch.web.IsJpHiragana.
Implementation of FormValueVerifier interface.
IsJpHiragana() - Constructor for class com.oopreserch.web.IsJpHiragana
 
isJpHiragana(char) - Method in class com.oopreserch.web.AbstractVerifier
Returns true for the Japanese Hiragana characters.
IsJpPostalAddress - class com.oopreserch.web.IsJpPostalAddress.
Implementation of FormValueVerifier interface.
IsJpPostalAddress() - Constructor for class com.oopreserch.web.IsJpPostalAddress
 
IsJpPostalCode - class com.oopreserch.web.IsJpPostalCode.
Implementation of FormValueVerifier interface.
IsJpPostalCode() - Constructor for class com.oopreserch.web.IsJpPostalCode
 
isValid(char) - Method in class com.oopreserch.web.IsJpPostalAddress
Returns true for the postal address in Japanase characters.
isValid(char) - Method in class com.oopreserch.web.IsJpHiragana
Returns true for the Japanese Hiragana characters.
isValid(char) - Method in class com.oopreserch.web.IsJpHalfWidthKatakana
Returns true for the Japanese Hankaku (half-width) Katakana characters.
isValid(char) - Method in class com.oopreserch.web.IsJpHalfWidth
Returns true for the half wide characters or space.
isValid(char) - Method in class com.oopreserch.web.IsJpFullWidthKatakana
Returns true for the Japanese Zenkaku (full-width) Katakana characters.
isValid(char) - Method in class com.oopreserch.web.IsJpFullWidth
Returns true for the full wide characters or space.
isValid(char) - Method in class com.oopreserch.web.IsDigitOrAlphabet
Returns true for A-Z, a-z or 0-9.
isValid(char) - Method in class com.oopreserch.web.IsDigit
Returns true for 0-9 Otherwise false.
isValid(char) - Method in class com.oopreserch.web.IsBasicLatin
Returns true for Basic Latin characters.
isValid(char) - Method in class com.oopreserch.web.IsAlphabetUpper
Returns true for A-Z or space.
isValid(char) - Method in class com.oopreserch.web.IsAlphabetLower
Returns true for a-z or space.
isValid(char) - Method in class com.oopreserch.web.IsAlphabet
Returns true for A-Z, a-z or space.
isValid(char) - Method in class com.oopreserch.web.AbstractVerifier
Called from AbstractVerifier.isValidString(String) with each char in the given String.
isValidString(String) - Method in class com.oopreserch.web.IsJpPostalCode
Returns true for the valid postal code in Japan.
isValidString(String) - Method in class com.oopreserch.web.IsInteger
Returns true if the given String is valid as int.
isValidString(String) - Method in class com.oopreserch.web.IsEmailAddress
Returns true for the valid e-mail address.
isValidString(String) - Method in class com.oopreserch.web.IsDouble
Returns true if the given String is valid as double.
isValidString(String) - Method in interface com.oopreserch.web.FormValueVerifier
This method will be used by Form to check the validity of the String to be inserted.
isValidString(String) - Method in class com.oopreserch.web.AcceptAny
Returns true for any String.
isValidString(String) - Method in class com.oopreserch.web.AbstractVerifier
This method will be used by Form to check the validity of the String to be inserted.

N

NestedException - exception com.oopreserch.util.NestedException.
The exception for the system error.
NestedException(Throwable) - Constructor for class com.oopreserch.util.NestedException
The custructor.

P

printStackTrace() - Method in class com.oopreserch.util.NestedException
Print this Throwable and its backtrace to the standard error stream.
printStackTrace(PrintStream) - Method in class com.oopreserch.util.NestedException
Print this Throwable and its backtrace to the specified PrintStream.
printStackTrace(PrintWriter) - Method in class com.oopreserch.util.NestedException
Print this Throwable and its backtrace to the specified PrintWriter.

R

reuseForm(Form) - Method in class com.oopreserch.web.FormGenerator
Return the instance of Form back to the pool.

S

setDebug(boolean) - Method in class com.oopreserch.web.FormGenerator
Set if debugging mode.
setDefaultValidValue(Map) - Method in class com.oopreserch.web.Form
Insert a set of Strings into the code fragments at a time.
setDefaultValue(Map) - Method in class com.oopreserch.web.Form
Insert a set of Strings into the code fragments at a time.
setDefaultValue(String, String) - Method in class com.oopreserch.web.Form
Insert the arbitrary String between the code fragments.
setDefaultValue(String, String, boolean) - Method in class com.oopreserch.web.Form
Insert the arbitrary String between the code fragments.
setRequest(HttpServletRequest) - Method in class com.oopreserch.web.Form
Insert a set of request parameters into the code fragments at a time.
setValid(String, boolean) - Method in class com.oopreserch.web.Form
Set explicitly the validity of the String to be inserted.
setValidRequest(HttpServletRequest) - Method in class com.oopreserch.web.Form
Insert a set of request parameters into the code fragments at a time.
SimpleException - exception com.oopreserch.util.SimpleException.
The exception for the logical error.
SimpleException(String) - Constructor for class com.oopreserch.util.SimpleException
The custructor.

U

UrlEncodeAscii - class com.oopreserch.web.UrlEncodeAscii.
The implementation of FormValueEscaper interface.
UrlEncodeAscii() - Constructor for class com.oopreserch.web.UrlEncodeAscii
 
UrlEncodeShiftJis - class com.oopreserch.web.UrlEncodeShiftJis.
The implementation of FormValueEscaper interface.
UrlEncodeShiftJis() - Constructor for class com.oopreserch.web.UrlEncodeShiftJis
 
UrlEncodeUtf8 - class com.oopreserch.web.UrlEncodeUtf8.
The implementation of FormValueEscaper interface.
UrlEncodeUtf8() - Constructor for class com.oopreserch.web.UrlEncodeUtf8
 

A B C E F G I N P R S U
OOP FormGenerator Version 2.0

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