// Path: noark-extraction-validator/src/main/java/com/documaster/validator/converters/Converter.java
// public interface Converter {
// 
// 	/**
// 	 * Returns the model that was generated as a result of the conversion.
// 	 * <p/>
// 	 *
// 	 * @return < object name , object >
// 	 */
// 	Map<String, ItemDef> getItemDefs() throws Exception;
// 
// 	/**
// 	 * Returns the entries that were generated as a result of the conversion.
// 	 *
// 	 * @return A list of {@link Item}.
// 	 */
// 	List<Item> getItems() throws Exception;
// 
// 	void convert(List<File> files) throws Exception;
// }


import com.documaster.validator.converters.Converter;
import com.sun.tools.xjc.AbortException;
import com.sun.tools.xjc.api.ErrorListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xml.sax.SAXParseException;
/**
 * 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.converters.xsd;


class ConversionErrorListener implements ErrorListener {

	private Logger logger;

// Path: noark-extraction-validator/src/main/java/com/documaster/validator/converters/Converter.java
// public interface Converter {
// 
// 	/**
// 	 * Returns the model that was generated as a result of the conversion.
// 	 * <p/>
// 	 *
// 	 * @return < object name , object >
// 	 */
// 	Map<String, ItemDef> getItemDefs() throws Exception;
// 
// 	/**
// 	 * Returns the entries that were generated as a result of the conversion.
// 	 *
// 	 * @return A list of {@link Item}.
// 	 */
// 	List<Item> getItems() throws Exception;
// 
// 	void convert(List<File> files) throws Exception;
// }


// Path: noark-extraction-validator/src/main/java/com/documaster/validator/converters/xsd/ConversionErrorListener.java
import com.documaster.validator.converters.Converter;
import com.sun.tools.xjc.AbortException;
import com.sun.tools.xjc.api.ErrorListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xml.sax.SAXParseException;

/**
 * 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.converters.xsd;


class ConversionErrorListener implements ErrorListener {

	private Logger logger;

	ConversionErrorListener(Class<? extends Converter> reportingClass) {