Project

General

Profile

« Previous | Next » 

Revision 786696e3

Added by Andreas Müller over 10 years ago

merge trunk into cdm3.3 branch

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/markup/MarkupImportConfigurator.java
38 38
	
39 39
	private boolean allowCapitalSpeciesEpithet = false;  //set to true if you want to allow specific epithets with capital letter at the beginning. This was allowed by the code for epithets referring to persons such as Beilschmiedia Zenkeri.
40 40

  
41
	private boolean handlePagesAsDetailWhereNeeded = true;  //often details in publications and citations are tagged as pages, not as details. If value is true, pages are handled as details where possible 
42

  
43
	private boolean useEditorAsInAuthorWhereNeeded = true;  //often the inAuthor is stored as "Editor" in citations, atleast in FM.
41 44
	
42 45
	//TODO
43 46
	private static IInputTransformer defaultTransformer = null;
......
104 107
		if (this.isReuseExistingState() == true){
105 108
			if (this.state == null){
106 109
				this.state = new MarkupImportState(this);
110
			}else{
111
				state.reset();
107 112
			}
108 113
			return this.state;
109 114
		}else{
......
217 222
		this.allowCapitalSpeciesEpithet = allowCapitalSpeciesEpithet;
218 223
	}
219 224

  
225
	public boolean isHandlePagesAsDetailWhereNeeded() {
226
		return this.handlePagesAsDetailWhereNeeded;
227
	}
228
	
229
	public void setHandlePagesAsDetailWhereNeeded(boolean handlePagesAsDetailWhereNeeded) {
230
		this.handlePagesAsDetailWhereNeeded = handlePagesAsDetailWhereNeeded;
231
	}
232

  
233
	public boolean isUseEditorAsInAuthorWhereNeeded() {
234
		return useEditorAsInAuthorWhereNeeded;
235
	}
236

  
237
	public void setUseEditorAsInAuthorWhereNeeded(boolean useEditorAsInAuthorWhereNeeded) {
238
		this.useEditorAsInAuthorWhereNeeded = useEditorAsInAuthorWhereNeeded;
239
	}
240

  
220 241
	
221 242
}

Also available in: Unified diff