public class EmptyStringValidator extends Object implements Validator
This class is a validator to make sure that user has to input something else other than space(s) character only.
NOT_IN_RANGE_MESSAGE_ID| Constructor and Description |
|---|
EmptyStringValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(FacesContext context,
UIComponent toValidate,
Object value)
Throw exception if there is only space(s) character as input.
|
public void validate(FacesContext context, UIComponent toValidate, Object value) throws ValidatorException
validate in interface ValidatorValidatorExceptionCopyright © 2007-2014 Sakai Project. All Rights Reserved.