comparison src/main/java/de/mpiwg/itgroup/annotationManager/restlet/AnnotatorAnnotations.java @ 26:235b91ba8dff

on the way to new annotations...
author casties
date Thu, 26 Apr 2012 11:44:57 +0200
parents a3e324009990
children e5f5848892a2
comparison
equal deleted inserted replaced
25:52dff477e45f 26:235b91ba8dff
251 251
252 // username should be a URI, if not it will set to the MPIWG namespace defined in 252 // username should be a URI, if not it will set to the MPIWG namespace defined in
253 // de.mpiwg.itgroup.annotationManager.Constants.NS 253 // de.mpiwg.itgroup.annotationManager.Constants.NS
254 String usernameOrig = username; 254 String usernameOrig = username;
255 if (!username.startsWith("http")) 255 if (!username.startsWith("http"))
256 username = NS.MPIWG_PERSONS + username; 256 username = NS.MPIWG_PERSONS_URL + username;
257 257
258 if (mode.equals("complexAnnotation")) {// Annotation mit text in externer ressource 258 if (mode.equals("complexAnnotation")) {// Annotation mit text in externer ressource
259 259
260 Context context = getContext(); 260 Context context = getContext();
261 String drupalPath = context.getParameters().getFirstValue("de.mpiwg.itgroup.annotationManager.drupalServer"); 261 String drupalPath = context.getParameters().getFirstValue("de.mpiwg.itgroup.annotationManager.drupalServer");