com.sapportals.htmlb.validation
Class IntegerValidator
java.lang.Object
com.sapportals.htmlb.validation.Validator
com.sapportals.htmlb.validation.DataTypeValidator
com.sapportals.htmlb.validation.RangeValidator
com.sapportals.htmlb.validation.IntegerValidator
- public class IntegerValidator
- extends RangeValidator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerValidator
public IntegerValidator()
getJavascript
public String getJavascript(Locale locale)
- returns the java script function used to check if the input is an integer
- Specified by:
getJavascript in class Validator
- Parameters:
locale - the locale for which to format the value
- Returns:
- a String representation of Javascript
getErrorText
public String getErrorText(Locale locale)
- gets a locale specific error text
- Specified by:
getErrorText in class Validator
- Parameters:
locale - the locale for which to format the value
- Returns:
- a String
Copyright 2006 SAP AG Complete Copyright Notice