Commit da679e6d authored by DanFaria's avatar DanFaria
Browse files

Updated SKOS to use Namespace

parent 817dcc57
/****************************************************************************** /******************************************************************************
* Copyright 2013-2016 LASIGE * * Copyright 2013-2018 LASIGE *
* * * *
* Licensed under the Apache License, Version 2.0 (the "License"); you may * * Licensed under the Apache License, Version 2.0 (the "License"); you may *
* not use this file except in compliance with the License. You may obtain a * * not use this file except in compliance with the License. You may obtain a *
...@@ -65,8 +65,6 @@ public enum SKOS ...@@ -65,8 +65,6 @@ public enum SKOS
private String uri; private String uri;
private final String NAMESPACE = "http://www.w3.org/2004/02/skos/core#";
SKOS(String s) SKOS(String s)
{ {
uri = s; uri = s;
...@@ -77,7 +75,7 @@ public enum SKOS ...@@ -77,7 +75,7 @@ public enum SKOS
*/ */
public IRI toIRI() public IRI toIRI()
{ {
return IRI.create(NAMESPACE + uri); return IRI.create(Namespace.SKOS + uri);
} }
public String toString() public String toString()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment