Mercurial > hg > AnnotationManagerN4J
diff src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.java @ 58:f5c0e6df7e88
made uri prefixes in store configurable.
author | casties |
---|---|
date | Tue, 20 Nov 2012 18:23:52 +0100 |
parents | 64aa756c60cc |
children | c0dd5314bada |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.java Tue Nov 20 17:56:35 2012 +0100 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.java Tue Nov 20 18:23:52 2012 +0100 @@ -14,7 +14,6 @@ import org.restlet.representation.Representation; import org.restlet.resource.Get; -import de.mpiwg.itgroup.annotations.NS; import de.mpiwg.itgroup.annotations.Tag; import de.mpiwg.itgroup.annotations.neo4j.AnnotationStore; @@ -59,7 +58,7 @@ protected Representation getTag(String id){ AnnotationStore store = getAnnotationStore(); - String tagUri=NS.MPIWG_TAGS_URL+id; + String tagUri = BaseRestlet.TAGS_URI_PREFIX + id; Node tagNode = store.getTagNodeByUri(tagUri); Tag tag = store.createTagFromNode(tagNode); JSONObject jo = new JSONObject();