Project

General

Profile

Download (1.43 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.tcsrdf;
11

    
12
import org.apache.log4j.Logger;
13
import org.jdom.Content;
14
import org.jdom.Element;
15
import org.jdom.Namespace;
16

    
17
import com.hp.hpl.jena.rdf.model.Resource;
18
import com.hp.hpl.jena.rdf.model.Statement;
19

    
20

    
21
/**
22
 * @author a.mueller
23
 * @created 29.07.2008
24
 * @version 1.0
25
 */
26
public class CdmUnclearMapper extends CdmSingleAttributeRDFMapperBase {
27
	private static final Logger logger = Logger.getLogger(CdmUnclearMapper.class);
28
	
29
	
30
	/**
31
	 * @param dbValue
32
	 * @param cdmValue
33
	 */
34
	public CdmUnclearMapper(String sourceElementString, String sourceNamespace) {
35
		super(sourceElementString, null);
36
		this.sourceNameSpace = sourceNamespace;
37
	}
38

    
39
	/**
40
	 * @param dbValue
41
	 * @param cdmValue
42
	 */
43
	public CdmUnclearMapper(String dbAttributString) {
44
		super(dbAttributString, null);
45
	}
46
	
47
	public String getSourceNamespace(){
48
		return sourceNameSpace;
49
	}
50
	
51
	public Class getTypeClass(){
52
		return String.class;
53
	}
54
	
55
	public boolean mapsSource(Resource content, Statement parentElement){
56
		return super.mapsSource(content, parentElement);
57
	}
58
	
59
	public String toString(){
60
		return this.getSourceElement();
61
	}
62

    
63
	
64

    
65

    
66
}
(5-5/14)