1 package eu.ehri.project.exporters.eag;
2
3 import eu.ehri.project.exporters.xml.XmlExporter;
4 import eu.ehri.project.models.Repository;
5 import org.w3c.dom.Document;
6
7 import javax.xml.transform.TransformerException;
8 import java.io.IOException;
9 import java.io.OutputStream;
10
11
12
13
14 public interface EagExporter extends XmlExporter<Repository> {
15
16
17
18
19
20
21
22
23
24 void export(Repository repository,
25 OutputStream outputStream, String langCode) throws IOException, TransformerException;
26
27
28
29
30
31
32
33
34
35 Document export(Repository repository, String langCode) throws IOException;
36 }