/*
* IsDigitOrAlphabet
*
* Created: Sun May 5 02:10:51 2002
* $Revision$
* Modified: $Date$
*
* Author: Jun Inamori
* E-mail: jun@oop-reserch.com
*
* Copyright (c) 1998-2001 Jun Inamori
* 2-24-7 Shinsenri-Kitamachi, Toyonaka ,
* Osaka 560-0081 , Japan.
* All rights reserved.
*
*/
package com.oopreserch.web;
/**
* Implementation of {@link FormValueVerifier} interface.
* Returns <i>true</i> for String with A-Z, a-z or 0-9.
*
* @author Jun Inamori
*/
public class IsDigitOrAlphabet extends AbstractVerifier{
/**
* Returns <i>true</i> for A-Z, a-z or 0-9.
* Otherwise <i>false</i>.
* <br>
* <br>
* @param ch <i>char</i> to be tested.
* @return <i>true</i> for A-Z, a-z or 0-9.
*/
public boolean isValid(char ch){
return isDigitOrAlphabet(ch);
}
} //End of : IsDigitOrAlphabet