package com.thaiopensource.relaxng.input;

import com.thaiopensource.relaxng.edit.SchemaCollection;
import com.thaiopensource.relaxng.translate.util.InvalidParamsException;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;

import java.io.IOException;

abstract public class AbstractMultiInputFormat implements MultiInputFormat {
  public SchemaCollection load(String uri, String[] params, String outputFormat, ErrorHandler eh, ClassLoader loader)
          throws InputFailedException, InvalidParamsException, IOException, SAXException {
    return load(new String[] { uri }, params, outputFormat, eh, loader);
  }
}
