Package com.epam.fix.validation.engine
Interface IValidatorFactory
- All Known Implementing Classes:
ValidatorFactory
public interface IValidatorFactory
The common interface for creating validators.
- Author:
- Serhiy_Zahriychuk
-
Method Summary
Modifier and TypeMethodDescriptionCreates list of validator.Creates message type validator.createValidator
(ValidatorType validatorType) Creates the validator.
-
Method Details
-
createValidator
Creates the validator.- Parameters:
validatorType
- the type of validator
-
createAllValidators
IValidatorContainer createAllValidators()Creates list of validator.- Returns:
- validator container
- See Also:
-
createRequiredValidator
IValidatorContainer createRequiredValidator()Creates message type validator.- Returns:
- Container with instance of
MessageTypeValidator
.
-