2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.io
.common
;
14 import org
.apache
.log4j
.Logger
;
16 import eu
.etaxonomy
.cdm
.database
.ICdmDataSource
;
17 import eu
.etaxonomy
.cdm
.io
.common
.mapping
.out
.IExportTransformer
;
24 public abstract class XmlExportConfiguratorBase
<STATE
extends XmlExportState
> extends ExportConfiguratorBase
<File
, STATE
, IExportTransformer
> implements IExportConfigurator
<STATE
, IExportTransformer
>{
25 @SuppressWarnings("unused")
26 private static Logger logger
= Logger
.getLogger(XmlExportConfiguratorBase
.class);
28 // private XmlExportState<XmlExportConfigurator> state;
35 private IdType idType
= IdType
.CDM_ID
;
40 * @param berlinModelSource
41 * @param sourceReference
44 protected XmlExportConfiguratorBase(File destination
, ICdmDataSource cdmSource
, IExportTransformer transformer
) {
47 setDestination(destination
);
48 // setState(new XmlExportState<XmlExportConfigurator>());
55 public IdType
getIdType() {
60 * @param idType the idType to set
62 public void setIdType(IdType idType
) {
68 * @see eu.etaxonomy.cdm.io.common.IIoConfigurator#getDestinationNameString()
70 public String
getDestinationNameString() {
71 if (getDestination() != null){
72 return getDestination().getName();
80 // * @return the state
82 // public XmlExportState<XmlExportConfigurator> getState() {
87 // * @param state the state to set
89 // public void setState(BerlinModelExportState<XmlExportConfigurator> state) {
90 // this.state = state;