Class AbstractTextValueValidator
java.lang.Object
org.camunda.bpm.engine.impl.form.validator.AbstractTextValueValidator
- All Implemented Interfaces:
FormFieldValidator
- Direct Known Subclasses:
MaxLengthValidator
,MinLengthValidator
- Author:
- Daniel Meyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
validate
(Object submittedValue, FormFieldValidatorContext validatorContext) return true if the submitted value is valid for the given form field.protected abstract boolean
-
Constructor Details
-
AbstractTextValueValidator
public AbstractTextValueValidator()
-
-
Method Details
-
validate
Description copied from interface:FormFieldValidator
return true if the submitted value is valid for the given form field.- Specified by:
validate
in interfaceFormFieldValidator
- Parameters:
submittedValue
- the value submitted to the form fieldvalidatorContext
- object providing access to additional information useful wile validating the form- Returns:
- true if the value is valid, false otherwise.
-
validate
-
isNullValid
protected boolean isNullValid()
-