IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.xui.validator
Class NumericValidator

java.lang.Object
  extended by com.ibm.btt.rcp.xui.validator.Validator
      extended by com.ibm.btt.rcp.xui.validator.AbstractRegexValidator
          extended by com.ibm.btt.rcp.xui.validator.NumericValidator
All Implemented Interfaces:
IValidator

public class NumericValidator
extends AbstractRegexValidator

The input can only be number. When the input is not a valid alphabet character, it will be ineffective. It can be used in afterValidators and beforeValidators.


Constructor Summary
NumericValidator()
           
 
Method Summary
 java.lang.String getRegex()
          Get regex string which validate based on
 
Methods inherited from class com.ibm.btt.rcp.xui.validator.AbstractRegexValidator
validate
 
Methods inherited from class com.ibm.btt.rcp.xui.validator.Validator
getErrorMessage, setErrorMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericValidator

public NumericValidator()
Method Detail

getRegex

public java.lang.String getRegex()
Description copied from class: AbstractRegexValidator
Get regex string which validate based on

Specified by:
getRegex in class AbstractRegexValidator
Returns:

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009