com.oopreserch.web
Class IsJpFullWidthKatakana
java.lang.Object
|
+--com.oopreserch.web.AbstractVerifier
|
+--com.oopreserch.web.IsJpFullWidthKatakana
- All Implemented Interfaces:
- FormValueVerifier
- public class IsJpFullWidthKatakana
- extends AbstractVerifier
Implementation of FormValueVerifier interface.
Returns true for the Japanese Zenkaku Katakana.
- Author:
- Jun Inamori
|
Method Summary |
boolean |
isValid(char ch)
Returns true for the Japanese Zenkaku (full-width)
Katakana characters. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsJpFullWidthKatakana
public IsJpFullWidthKatakana()
isValid
public boolean isValid(char ch)
- Returns true for the Japanese Zenkaku (full-width)
Katakana characters. Otherwise false.
This method works well only for
characters from the typical Japanese environment.
Note that this method returns true also for
space, line feed and cariage return
even though they are not Zenkaku Katakana characters.
- Overrides:
isValid in class AbstractVerifier
- Parameters:
ch - char to be tested.
- Returns:
- true for the Zenkaku Katakana characters.
ALL CONTENTS COPYRIGHT 2002, Jun Inamori. All rights reserved.
Any questions and comments are welcome to Jun Inamori.