package de.ivu.elect.exchange;

import java.io.InputStream;

import de.ivu.elect.jee.exchange.Violations;
import de.ivu.elect.jee.exchange.XmlMarshaller;
import de.ivu.elect.jee.exchange.XmlSchemaLoader;

public interface XmlImportMapper {

  default Violations validateXml(InputStream is, XmlMarshaller xmlMarshaller, XmlSchemaLoader xmlSchemaLoader, String schemaFileName, Class<?> contentClass) {
    // return xmlMarshaller.validate(is, xmlSchemaLoader.getSchemaLocation(schemaFileName), contentClass);

    return new Violations(); // ELECT-9722
  }

}
