1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.io.redlist.bfnXml.out;
|
11
|
|
12
|
import java.io.File;
|
13
|
|
14
|
import org.apache.log4j.Logger;
|
15
|
|
16
|
import eu.etaxonomy.cdm.database.ICdmDataSource;
|
17
|
import eu.etaxonomy.cdm.io.common.XmlExportConfiguratorBase;
|
18
|
import eu.etaxonomy.cdm.io.common.mapping.out.IExportTransformer;
|
19
|
|
20
|
/**
|
21
|
*
|
22
|
* @author pplitzner
|
23
|
* @date May 3, 2016
|
24
|
*
|
25
|
*/
|
26
|
public class BfnXmlExportConfigurator extends XmlExportConfiguratorBase<BfnXmlExportState>{
|
27
|
|
28
|
private static final long serialVersionUID = -74469857806841119L;
|
29
|
|
30
|
@SuppressWarnings("unused")
|
31
|
private static Logger logger = Logger.getLogger(BfnXmlExportConfigurator.class);
|
32
|
|
33
|
public static BfnXmlExportConfigurator NewInstance(File destination, ICdmDataSource cdmSource, IExportTransformer transformer){
|
34
|
return new BfnXmlExportConfigurator(destination, cdmSource, transformer);
|
35
|
}
|
36
|
|
37
|
private BfnXmlExportConfigurator(File destination, ICdmDataSource cdmSource, IExportTransformer transformer) {
|
38
|
super(destination, cdmSource, transformer);
|
39
|
}
|
40
|
|
41
|
@Override
|
42
|
protected void makeIoClassList(){
|
43
|
ioClassList = new Class[]{
|
44
|
BfnXmlTaxonNameExport.class
|
45
|
};
|
46
|
|
47
|
}
|
48
|
|
49
|
@Override
|
50
|
public BfnXmlExportState getNewState() {
|
51
|
return new BfnXmlExportState(this);
|
52
|
}
|
53
|
|
54
|
}
|