public static String getValidator(String name) { return (String) validators.get(name);
public Validator getValidator(String type, Map args) throws WorkflowException { String className = (String) registers.get(type);  if (className == null) { className = (String) args.get(Workflow.CLASS_NAME); }  if (className == null) { throw new WorkflowException("No type or class.name argument specified to TypeResolver"); }  return (Validator) loadObject(className);
    public static String getValidator(String name) {        return (String) validators.get(name);    }