
package de.ivu.elect.was.exchange.wahl;

import java.io.InputStream;

import javax.inject.Inject;
import javax.xml.bind.JAXBException;

import de.ivu.elect.interfaces.core.Wahl;

public class WasWahlXMLImportMapper extends AbstractWahlXMLImportMapper implements WasWahlImportMapper {

  @Inject
  private WasWahlExternInternMapper mapper;

  public WasWahlXMLImportMapper() {
    super();
  }

  @Override
  protected WasWahlExternInternMapper getMapper() {
    return mapper;
  }

  public Wahl mappeDirekt(InputStream is) throws JAXBException {
    return mappe(is);
  }
}
