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
.descriptive
.word
.out
;
14 import org
.apache
.log4j
.Logger
;
16 import eu
.etaxonomy
.cdm
.database
.ICdmDataSource
;
17 import eu
.etaxonomy
.cdm
.io
.common
.XmlExportConfiguratorBase
;
18 import eu
.etaxonomy
.cdm
.model
.term
.FeatureTree
;
27 public class WordExportConfigurator
extends XmlExportConfiguratorBase
<WordExportState
> {
29 private static final long serialVersionUID
= -4360021755279592592L;
31 @SuppressWarnings("unused")
32 private static final Logger logger
= Logger
.getLogger(WordExportConfigurator
.class);
34 private FeatureTree featureTree
;
37 private WordExportConfigurator(ICdmDataSource source
, File destinationFolder
, FeatureTree featureTree
) {
38 super(destinationFolder
, source
, null);
39 this.featureTree
= featureTree
;
42 public static WordExportConfigurator
NewInstance(ICdmDataSource source
, File destinationFolder
, FeatureTree featureTree
) {
43 return new WordExportConfigurator(source
, destinationFolder
, featureTree
);
47 public WordExportState
getNewState() {
48 return new WordExportState(this);
52 protected void makeIoClassList() {
53 ioClassList
= new Class
[] {
58 public FeatureTree
getFeatureTree() {