org.camunda.bpm.engine.impl.form.validator
Class AbstractTextValueValidator
java.lang.Object
org.camunda.bpm.engine.impl.form.validator.AbstractTextValueValidator
- All Implemented Interfaces:
- FormFieldValidator
- Direct Known Subclasses:
- MaxLengthValidator, MinLengthValidator
public abstract class AbstractTextValueValidator
- extends Object
- implements FormFieldValidator
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTextValueValidator
public AbstractTextValueValidator()
validate
public boolean validate(Object submittedValue,
FormFieldValidatorContext validatorContext)
- Description copied from interface:
FormFieldValidator
- return true if the submitted value is valid for the given form field.
- Specified by:
validate in interface FormFieldValidator
- 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
protected abstract boolean validate(String submittedValue,
String configuration)
isNullValid
protected boolean isNullValid()
Copyright © 2016 camunda services GmbH. All rights reserved.