comparison src/de/mpiwg/itgroup/eSciDoc/Tools/EScidocTools.java @ 8:a844f6948dd8

?nderungen im Walker tools f?r pubman
author dwinter
date Mon, 14 May 2012 09:58:45 +0200
parents 58b52df9763c
children e0efd3a9d2f0
comparison
equal deleted inserted replaced
7:df8c62d84f8f 8:a844f6948dd8
32 public static final String ECHO="http://www.echo.eu/rdf#"; 32 public static final String ECHO="http://www.echo.eu/rdf#";
33 public static final String cmm="http://www.escidoc.de/schemas/contentmodel/0.1"; 33 public static final String cmm="http://www.escidoc.de/schemas/contentmodel/0.1";
34 public static final String zs="http://www.loc.gov/zing/srw/"; 34 public static final String zs="http://www.loc.gov/zing/srw/";
35 public static final String srel="http://escidoc.de/core/01/structural-relations/"; 35 public static final String srel="http://escidoc.de/core/01/structural-relations/";
36 public static final String structMap="http://www.escidoc.de/schemas/structmap/0.4"; 36 public static final String structMap="http://www.escidoc.de/schemas/structmap/0.4";
37 public static final String eterms="http://purl.org/escidoc/metadata/terms/0.1/";
38 public static final String person="http://purl.org/escidoc/metadata/profiles/0.1/person";
39 public static final String organization="http://purl.org/escidoc/metadata/profiles/0.1/organization";
40 public static final String source="http://purl.org/escidoc/metadata/profiles/0.1/source";
41 public static final String publication="http://purl.org/escidoc/metadata/profiles/0.1/publication";
42 public static final String dcterms="http://purl.org/dc/terms/";
43
37 44
38 public EScidocTools(EScidocBasicHandler connector) { 45 public EScidocTools(EScidocBasicHandler connector) {
39 // TODO Auto-generated constructor stub 46 // TODO Auto-generated constructor stub
40 } 47 }
41 48
45 52
46 public static XPath getESciDocXpath(String xpath) throws JDOMException{ 53 public static XPath getESciDocXpath(String xpath) throws JDOMException{
47 XPath xpathResources = XPath.newInstance(xpath); 54 XPath xpathResources = XPath.newInstance(xpath);
48 xpathResources.addNamespace("prop",prop); 55 xpathResources.addNamespace("prop",prop);
49 xpathResources.addNamespace("mpiwg",MPIWG); 56 xpathResources.addNamespace("mpiwg",MPIWG);
57 xpathResources.addNamespace("dcterms",dcterms);
50 58
51 xpathResources.addNamespace("rdf",RDF); 59 xpathResources.addNamespace("rdf",RDF);
52 xpathResources.addNamespace("echonavigation",ECHO); 60 xpathResources.addNamespace("echonavigation",ECHO);
53 61
54 xpathResources.addNamespace("dc",DC); 62 xpathResources.addNamespace("dc",DC);
71 xpathResources.addNamespace("echo",ECHO); 79 xpathResources.addNamespace("echo",ECHO);
72 xpathResources.addNamespace("escidocContentModel",cmm); 80 xpathResources.addNamespace("escidocContentModel",cmm);
73 xpathResources.addNamespace("zs",zs); 81 xpathResources.addNamespace("zs",zs);
74 xpathResources.addNamespace("srel",srel); 82 xpathResources.addNamespace("srel",srel);
75 xpathResources.addNamespace("struct-map",structMap); 83 xpathResources.addNamespace("struct-map",structMap);
84 xpathResources.addNamespace("eterms",eterms);
85 xpathResources.addNamespace("person",person);
86 xpathResources.addNamespace("organization",organization);
87 xpathResources.addNamespace("publication",publication);
88 xpathResources.addNamespace("source",source);
76 return xpathResources; 89 return xpathResources;
77 } 90 }
78 91
79 92
80 93