1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.cdm.io.common;
|
12
|
|
13
|
import javax.xml.stream.XMLEventReader;
|
14
|
import javax.xml.stream.XMLStreamException;
|
15
|
import javax.xml.stream.events.XMLEvent;
|
16
|
|
17
|
import org.apache.log4j.Logger;
|
18
|
|
19
|
/**
|
20
|
* @author a.mueller
|
21
|
* @created 11.05.2009
|
22
|
* @version 1.0
|
23
|
*/
|
24
|
public class XmlImportState<CONFIG extends XmlImportConfiguratorBase, IO extends XmlImportBase> extends ImportStateBase<CONFIG, IO> {
|
25
|
@SuppressWarnings("unused")
|
26
|
private static final Logger logger = Logger.getLogger(XmlImportState.class);
|
27
|
|
28
|
private XMLEventReader reader;
|
29
|
|
30
|
|
31
|
public XmlImportState(CONFIG config) {
|
32
|
super(config);
|
33
|
}
|
34
|
|
35
|
|
36
|
|
37
|
/**
|
38
|
* @return the reader
|
39
|
*/
|
40
|
public XMLEventReader getReader() {
|
41
|
return reader;
|
42
|
}
|
43
|
|
44
|
public void setReader(XMLEventReader reader) {
|
45
|
this.reader = reader;
|
46
|
|
47
|
}
|
48
|
|
49
|
|
50
|
|
51
|
|
52
|
|
53
|
}
|