OOP FormGenerator Version 3.1

com.oopreserch.web
Class IsAlphabet

java.lang.Object
  |
  +--com.oopreserch.web.AbstractVerifier
        |
        +--com.oopreserch.web.IsAlphabet
All Implemented Interfaces:
FormValueVerifier

public class IsAlphabet
extends AbstractVerifier

Implementation of FormValueVerifier interface. Returns true for String with A-Z, a-z or space.

Author:
Jun Inamori

Constructor Summary
IsAlphabet()
           
 
Method Summary
 boolean isValid(char ch)
          Returns true for A-Z, a-z or space.
 
Methods inherited from class com.oopreserch.web.AbstractVerifier
isValidString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsAlphabet

public IsAlphabet()
Method Detail

isValid

public boolean isValid(char ch)
Returns true for A-Z, a-z or space. Otherwise false.

Overrides:
isValid in class AbstractVerifier
Parameters:
ch - char to be tested.
Returns:
true for A-Z, a-z or space.

OOP FormGenerator Version 3.1

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