minor
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / common / ExportStateBase.java
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 org.apache.log4j.Logger;
14
15 import eu.etaxonomy.cdm.io.common.mapping.out.IExportTransformer;
16
17 /**
18 * @author a.mueller
19 * @created 11.05.2009
20 * @version 1.0
21 */
22 //TODO make it CONFIG extends DBExportConfigurator
23 public abstract class ExportStateBase<CONFIG extends ExportConfiguratorBase<?,?,TRANSFORM>, TRANSFORM extends IExportTransformer> extends IoStateBase<CONFIG, CdmExportBase> {
24 @SuppressWarnings("unused")
25 private static final Logger logger = Logger.getLogger(ExportStateBase.class);
26
27 protected ExportStateBase(CONFIG config){
28 this.config = config;
29 }
30
31 public TRANSFORM getTransformer(){
32 return this.config.getTransformer();
33 }
34
35 }