23242526272829303132
} public CURIE(String curie) { String[] splitted = curie.split(":"); if (splitted.length != 2) { throw new CURIESyntaxException("not found prefix and reference separated by ':'"); } else { this.buildCURIE(splitted[0], splitted[1]); } }
3738394041424344454647
throw new MappingNotFoundException(prefix); } try { new URI(namespace + reference); } catch (URISyntaxException e) { throw new CURIESyntaxException(e); } this.prefix = prefix; this.reference = reference; }