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
;
23 public abstract class XmlExportConfiguratorBase
extends ExportConfiguratorBase
<File
> implements IExportConfigurator
{
24 @SuppressWarnings("unused")
25 private static Logger logger
= Logger
.getLogger(XmlExportConfiguratorBase
.class);
27 // private XmlExportState<XmlExportConfigurator> state;
34 private IdType idType
= IdType
.CDM_ID
;
39 * @param berlinModelSource
40 * @param sourceReference
43 protected XmlExportConfiguratorBase(File destination
, ICdmDataSource cdmSource
) {
46 setDestination(destination
);
47 // setState(new XmlExportState<XmlExportConfigurator>());
54 public IdType
getIdType() {
59 * @param idType the idType to set
61 public void setIdType(IdType idType
) {
67 * @see eu.etaxonomy.cdm.io.common.IIoConfigurator#getDestinationNameString()
69 public String
getDestinationNameString() {
70 if (getDestination() != null){
71 return getDestination().getName();
79 // * @return the state
81 // public XmlExportState<XmlExportConfigurator> getState() {
86 // * @param state the state to set
88 // public void setState(BerlinModelExportState<XmlExportConfigurator> state) {
89 // this.state = state;