public class ValidatorFactory extends Object
| Constructor and Description |
|---|
ValidatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Validator |
getValidator(EnumValidatorType type)
Factory to give a Validator based on type.
|
static Validator |
getValidator(EnumValidatorType type,
String unitOfMeasure,
FlatCatalogue flatCatalogue)
Factory to give a Validator based on type.
|
public static Validator getValidator(EnumValidatorType type, String unitOfMeasure, FlatCatalogue flatCatalogue)
type - validator typeunitOfMeasure - the unit of measure if there is oneflatCatalogue - the flattened catalogue (only for catalogue validator)public static Validator getValidator(EnumValidatorType type)
type - validator typeCopyright © 2020 Samply Community. All rights reserved.