Revision 5e22b871
Added by Andreas Müller almost 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/bfnXml/out/BfnXmlExportBase.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
package eu.etaxonomy.cdm.io.redlist.bfnXml.out; |
11 | 11 |
|
12 |
import java.io.File; |
|
13 |
|
|
12 | 14 |
import org.apache.log4j.Logger; |
13 | 15 |
import org.jdom2.Attribute; |
14 | 16 |
import org.jdom2.Element; |
... | ... | |
23 | 25 |
* @date May 3, 2016 |
24 | 26 |
* |
25 | 27 |
*/ |
26 |
public abstract class BfnXmlExportBase extends CdmExportBase<BfnXmlExportConfigurator, BfnXmlExportState, IExportTransformer> { |
|
28 |
public abstract class BfnXmlExportBase extends CdmExportBase<BfnXmlExportConfigurator, BfnXmlExportState, IExportTransformer, File> {
|
|
27 | 29 |
|
28 | 30 |
private static final long serialVersionUID = 1115122553345412881L; |
29 | 31 |
|
... | ... | |
37 | 39 |
Element iwert = new Element(BfnXmlConstants.EL_IWERT); |
38 | 40 |
iwert.setAttribute(new Attribute(BfnXmlConstants.ATT_STANDARDNAME, standardNameValue)); |
39 | 41 |
parent.addContent(iwert); |
40 |
|
|
42 |
|
|
41 | 43 |
Element wert = new Element(BfnXmlConstants.EL_WERT); |
42 | 44 |
wert.addContent(wertString); |
43 | 45 |
iwert.addContent(wert); |
Also available in: Unified diff
cleanup and adapt to new Output generics hierarchy