#NEWLINE# @ classmethod #NEWLINE# def from_spec_list( cls , specs , validator_map , resource_roots ) : #NEWLINE# #INDENT# 'Constructs a list of validators from a list of specifications.\n\n        :param specs: A list of validator specifications, each of which\n            will be a dict of size 1, where the key represents the validator\n            type and the value respresents its specification.\n        :param validator_map: A map of validator name to class.\n        :param resource_roots: The roots from which relative paths to\n            resources (scripts and such) will be referenced. Any resource will\n            be pulled from the first path in the list at which a file exists.\n        :return: A list of validators.\n        ' #NEWLINE# validators = [ ] #NEWLINE# for spec in specs : #NEWLINE# #INDENT# ( validator_class , validator_spec ) = cls . get_class_from_spec ( spec , validator_map ) #NEWLINE# validators . append ( validator_class . from_spec ( validator_spec , validator_map , cls ) ) #NEWLINE# #UNINDENT# return validators