Ignore:
Timestamp:
Nov 20, 2012, 5:23:52 PM (11 years ago)
Author:
casties
Branch:
default
Message:

made uri prefixes in store configurable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.java

    r50 r58  
    1515import org.restlet.resource.Get;
    1616
    17 import de.mpiwg.itgroup.annotations.NS;
    1817import de.mpiwg.itgroup.annotations.Tag;
    1918import de.mpiwg.itgroup.annotations.neo4j.AnnotationStore;
     
    6059    protected Representation getTag(String id){
    6160          AnnotationStore store = getAnnotationStore();
    62           String tagUri=NS.MPIWG_TAGS_URL+id;
     61          String tagUri = BaseRestlet.TAGS_URI_PREFIX + id;
    6362          Node tagNode = store.getTagNodeByUri(tagUri);
    6463          Tag tag = store.createTagFromNode(tagNode);
Note: See TracChangeset for help on using the changeset viewer.