public class FormValidators extends Object
Registry for built-in FormFieldValidator
implementations.
Factory for FormFieldValidator
instances.
Modifier and Type | Field and Description |
---|---|
protected Map<String,Class<? extends FormFieldValidator>> |
validators
the registry of configured validators.
|
Constructor and Description |
---|
FormValidators() |
Modifier and Type | Method and Description |
---|---|
void |
addValidator(String name,
Class<? extends FormFieldValidator> validatorType) |
FormFieldValidator |
createValidator(Element constraint,
BpmnParse bpmnParse,
ExpressionManager expressionManager)
factory method for creating validator instances
|
protected FormFieldValidator |
createValidatorInstance(Class<? extends FormFieldValidator> validator) |
Map<String,Class<? extends FormFieldValidator>> |
getValidators() |
protected Map<String,Class<? extends FormFieldValidator>> validators
ProcessEngineConfiguration
.public FormFieldValidator createValidator(Element constraint, BpmnParse bpmnParse, ExpressionManager expressionManager)
protected FormFieldValidator createValidatorInstance(Class<? extends FormFieldValidator> validator)
public void addValidator(String name, Class<? extends FormFieldValidator> validatorType)
public Map<String,Class<? extends FormFieldValidator>> getValidators()
Copyright © 2017. All rights reserved.