/** * Pre-pends the passed resource string with a default prefix in order * to make it into a valid URI. * * @param resource * @return */ public static final String prefixUri(String resource) { if ( !isResourceString(resource)) { return "http://example.com/base/" + resource; } else { return resource; } }
if (!string.contains("{")) { if (type < 3) { if (!R2RMLVocabulary.isResourceString(string)) { string = R2RMLVocabulary.prefixUri("{" + string + "}"); if (type == 2) {