Project

General

Profile

Download (1 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
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.
8
*/
9

    
10
package eu.etaxonomy.cdm.io.common;
11

    
12
import org.apache.log4j.Logger;
13

    
14
import eu.etaxonomy.cdm.io.common.mapping.out.IExportTransformer;
15

    
16
/**
17
 * @author a.mueller
18
 * @since 11.05.2009
19
 */
20
//TODO make it CONFIG extends DBExportConfigurator
21
public abstract class ExportStateBase<CONFIG extends ExportConfiguratorBase<?, TRANSFORM, DEST>, TRANSFORM extends IExportTransformer, DEST extends Object>
22
        extends IoStateBase<CONFIG, CdmExportBase, ExportResult> {
23

    
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
}
(22-22/63)