public class RequiredFieldValidator extends Object implements FieldValidator, Serializable
Constructor and Description |
---|
RequiredFieldValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(Field field)
If the value of the field is not null and not empty, this method returns silently.
|
public void validate(Field field) throws ValidationException
validate
in interface FieldValidator
field
- the Field to validate.ValidationException
- if the field value is null or empty (white space only).Copyright 2019 Ping Identity Corp. All rights reserved.