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.common;
|
11
|
|
12
|
import javax.xml.stream.XMLEventReader;
|
13
|
|
14
|
import org.apache.log4j.Logger;
|
15
|
|
16
|
/**
|
17
|
* @author a.mueller
|
18
|
* @created 11.05.2009
|
19
|
*/
|
20
|
public class XmlImportState<CONFIG extends XmlImportConfiguratorBase, IO extends XmlImportBase> extends ImportStateBase<CONFIG, IO> {
|
21
|
@SuppressWarnings("unused")
|
22
|
private static final Logger logger = Logger.getLogger(XmlImportState.class);
|
23
|
|
24
|
private XMLEventReader reader;
|
25
|
|
26
|
|
27
|
public XmlImportState(CONFIG config) {
|
28
|
super(config);
|
29
|
}
|
30
|
|
31
|
|
32
|
|
33
|
/**
|
34
|
* @return the reader
|
35
|
*/
|
36
|
public XMLEventReader getReader() {
|
37
|
return reader;
|
38
|
}
|
39
|
|
40
|
public void setReader(XMLEventReader reader) {
|
41
|
this.reader = reader;
|
42
|
|
43
|
}
|
44
|
|
45
|
|
46
|
|
47
|
|
48
|
|
49
|
}
|