1 package com.trendmicro.grid.acl.metadata; 2 3 /** 4 * Defines the interface to a class that creates validators. 5 * 6 * @author juergen_kellerer, 2010-12-02 7 * @version 1.0 8 */ 9 public interface ValidatorFactory { 10 /** 11 * Creates new lightweight validators for the given validation instructions. 12 * 13 * @param instructions the instructions to use for validating Metadata. 14 * @return new lightweight validators for the given validation instructions. 15 */ 16 Validator newValidator(ValidationInstructions instructions); 17 }