/*
* IsAlphabet
*
* Created: Mon Apr 22 02:38:30 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 space.
*
* @author Jun Inamori
*/
public class IsAlphabet extends AbstractVerifier{
/**
* Returns <i>true</i> for A-Z, a-z or space.
* Otherwise <i>false</i>.
* <br>
* <br>
* @param ch <i>char</i> to be tested.
* @return <i>true</i> for A-Z, a-z or space.
*/
public boolean isValid(char ch){
if(ch==((char)('\u0020'))){
return true;
}
return isAlphabet(ch);
}
} //End of : IsAlphabet