private List < FieldValidator > lookupTheListOfValidatorsAndInitializeThemWithMetaDataProperties ( List < ValidatorMetaData > validationMetaDataList ) { List < FieldValidator > validatorsList = new ArrayList <> ( ) ; /* * Look up the crank validators and then apply the properties from the * validationMetaData to them. */ for ( ValidatorMetaData validationMetaData : validationMetaDataList ) { /* Look up the FieldValidator. */ FieldValidator validator = lookupValidatorInRegistry ( validationMetaData . getName ( ) ) ; /* * Apply the properties from the validationMetaData to the * validator. */ applyValidationMetaDataPropertiesToValidator ( validationMetaData , validator ) ; validatorsList . add ( validator ) ; } return validatorsList ; }
Lookup the list of validators for the current field and initialize them with validation meta - data properties .