com.sapportals.htmlb.validation
Class Validator
java.lang.Object
com.sapportals.htmlb.validation.Validator
- Direct Known Subclasses:
- CancelButtonValidator, DataTypeValidator, LengthValidator, RequiredValidator
- public abstract class Validator
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validator
public Validator()
getJavascript
public abstract String getJavascript(Locale locale)
- gets a locale specific Javascript representation of the validator.
- Parameters:
locale - the locale for which to format the value
- Returns:
- a String representation of Javascript
getErrorText
public abstract String getErrorText(Locale locale)
- gets a locale specific error text
- Parameters:
locale - the locale for which to format the value
- Returns:
- a String
getResourceBundle
protected ResourceBundle getResourceBundle(Locale locale)
- get a ResourceBundle for locale specific texts.
- Parameters:
locale - the locale for the bundle or null
if the default locale from the request should
be used.
- Returns:
- the ResourceBundle
- See Also:
ResourceBundle
Copyright 2006 SAP AG Complete Copyright Notice