// Path: noark-extraction-validator/src/main/java/com/documaster/validator/config/commands/Noark53Command.java
// @Parameters(commandNames = Noark53Command.COMMAND_NAME,
// 		commandDescription = "Validates a Noark 5.3 extraction package.")
// public class Noark53Command extends Noark5Command {
// 
// 	public static final String COMMAND_NAME = "noark53";
// 	private static final String NOARK_VERSION = "5.3";
// 
// 	public Noark53Command() {
// 
// 		super(COMMAND_NAME, NOARK_VERSION);
// 	}
// 
// 	public Noark53Command(JCommander argParser) {
// 
// 		super(argParser, COMMAND_NAME, NOARK_VERSION);
// 	}
// }
// 
// Path: noark-extraction-validator/src/main/java/com/documaster/validator/config/commands/Noark54Command.java
// @Parameters(commandNames = Noark54Command.COMMAND_NAME,
// 		commandDescription = "Validates a Noark 5.4 extraction package.")
// public class Noark54Command extends Noark5Command {
// 
// 	public static final String COMMAND_NAME = "noark54";
// 	private static final String NOARK_VERSION = "5.4";
// 
// 	public Noark54Command() {
// 
// 		super(COMMAND_NAME, NOARK_VERSION);
// 	}
// 
// 	public Noark54Command(JCommander argParser) {
// 
// 		super(argParser, COMMAND_NAME, NOARK_VERSION);
// 	}
// }
// 
// Path: noark-extraction-validator/src/main/java/com/documaster/validator/config/commands/Noark55Command.java
// @Parameters(commandNames = Noark55Command.COMMAND_NAME,
// 		commandDescription = "Validates a Noark 5.5 extraction package.")
// public class Noark55Command extends Noark5Command {
// 
// 	public static final String COMMAND_NAME = "noark55";
// 	private static final String NOARK_VERSION = "5.5";
// 
// 	public Noark55Command() {
// 
// 		super(COMMAND_NAME, NOARK_VERSION);
// 	}
// 
// 	public Noark55Command(JCommander argParser) {
// 
// 		super(argParser, COMMAND_NAME, NOARK_VERSION);
// 	}
// }


import java.util.HashMap;
import java.util.Map;
import com.documaster.validator.config.commands.Noark53Command;
import com.documaster.validator.config.commands.Noark54Command;
import com.documaster.validator.config.commands.Noark55Command;
/**
 * Noark Extraction Validator
 * Copyright (C) 2016, Documaster AS
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.documaster.validator.validation;



public enum ValidatorType {

	NOARK53(Noark53Command.COMMAND_NAME),
	NOARK54(Noark54Command.COMMAND_NAME),
	NOARK55(Noark55Command.COMMAND_NAME);

	private final String name;

	private static final Map<String, ValidatorType> TYPES;

	static {
		TYPES = new HashMap<>();
		for (ValidatorType validatorType : ValidatorType.values()) {
			TYPES.put(validatorType.getName(), validatorType);
		}
	}

	ValidatorType(String name) {

// Path: noark-extraction-validator/src/main/java/com/documaster/validator/config/commands/Noark53Command.java
// @Parameters(commandNames = Noark53Command.COMMAND_NAME,
// 		commandDescription = "Validates a Noark 5.3 extraction package.")
// public class Noark53Command extends Noark5Command {
// 
// 	public static final String COMMAND_NAME = "noark53";
// 	private static final String NOARK_VERSION = "5.3";
// 
// 	public Noark53Command() {
// 
// 		super(COMMAND_NAME, NOARK_VERSION);
// 	}
// 
// 	public Noark53Command(JCommander argParser) {
// 
// 		super(argParser, COMMAND_NAME, NOARK_VERSION);
// 	}
// }
// 
// Path: noark-extraction-validator/src/main/java/com/documaster/validator/config/commands/Noark54Command.java
// @Parameters(commandNames = Noark54Command.COMMAND_NAME,
// 		commandDescription = "Validates a Noark 5.4 extraction package.")
// public class Noark54Command extends Noark5Command {
// 
// 	public static final String COMMAND_NAME = "noark54";
// 	private static final String NOARK_VERSION = "5.4";
// 
// 	public Noark54Command() {
// 
// 		super(COMMAND_NAME, NOARK_VERSION);
// 	}
// 
// 	public Noark54Command(JCommander argParser) {
// 
// 		super(argParser, COMMAND_NAME, NOARK_VERSION);
// 	}
// }
// 
// Path: noark-extraction-validator/src/main/java/com/documaster/validator/config/commands/Noark55Command.java
// @Parameters(commandNames = Noark55Command.COMMAND_NAME,
// 		commandDescription = "Validates a Noark 5.5 extraction package.")
// public class Noark55Command extends Noark5Command {
// 
// 	public static final String COMMAND_NAME = "noark55";
// 	private static final String NOARK_VERSION = "5.5";
// 
// 	public Noark55Command() {
// 
// 		super(COMMAND_NAME, NOARK_VERSION);
// 	}
// 
// 	public Noark55Command(JCommander argParser) {
// 
// 		super(argParser, COMMAND_NAME, NOARK_VERSION);
// 	}
// }


// Path: noark-extraction-validator/src/main/java/com/documaster/validator/validation/ValidatorType.java
import java.util.HashMap;
import java.util.Map;
import com.documaster.validator.config.commands.Noark53Command;
import com.documaster.validator.config.commands.Noark54Command;
import com.documaster.validator.config.commands.Noark55Command;

/**
 * Noark Extraction Validator
 * Copyright (C) 2016, Documaster AS
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.documaster.validator.validation;



public enum ValidatorType {

	NOARK53(Noark53Command.COMMAND_NAME),
	NOARK54(Noark54Command.COMMAND_NAME),
	NOARK55(Noark55Command.COMMAND_NAME);

	private final String name;

	private static final Map<String, ValidatorType> TYPES;

	static {
		TYPES = new HashMap<>();
		for (ValidatorType validatorType : ValidatorType.values()) {
			TYPES.put(validatorType.getName(), validatorType);
		}
	}

	ValidatorType(String name) {

		this.name = name;