OOP FormGenerator Version 2.1

com.oopreserch.web
Class IsDigit

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

public class IsDigit
extends AbstractVerifier

Implementation of FormValueVerifier interface. Returns true for String with 0-9.

Author:
Jun Inamori

Constructor Summary
IsDigit()
           
 
Method Summary
 boolean isValid(char ch)
          Returns true for 0-9 Otherwise false.
 
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

IsDigit

public IsDigit()
Method Detail

isValid

public boolean isValid(char ch)
Returns true for 0-9 Otherwise false.

Parameters:
ch - char to be tested.
Returns:
true for 0-9

OOP FormGenerator Version 2.1

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