public abstract class AbstractTextValueValidator extends Object implements FormFieldValidator
Constructor and Description |
---|
AbstractTextValueValidator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isNullValid() |
boolean |
validate(Object submittedValue,
FormFieldValidatorContext validatorContext)
return true if the submitted value is valid for the given form field.
|
protected abstract boolean |
validate(String submittedValue,
String configuration) |
public boolean validate(Object submittedValue, FormFieldValidatorContext validatorContext)
FormFieldValidator
validate
in interface FormFieldValidator
submittedValue
- the value submitted to the form fieldvalidatorContext
- object providing access to additional information useful wile
validating the formprotected boolean isNullValid()
Copyright © 2017. All rights reserved.