protected class LDPathUtilWebService.LDPathPrefixService extends Object implements org.apache.marmotta.platform.core.api.prefix.PrefixService
| Constructor and Description |
|---|
LDPathUtilWebService.LDPathPrefixService(Map<String,String> local) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String prefix,
String namespace) |
boolean |
containsNamespace(String namespace) |
boolean |
containsPrefix(String prefix) |
void |
forceAdd(String prefix,
String namespace) |
String |
getCurie(String uri) |
Map<String,String> |
getMappings() |
String |
getNamespace(String prefix) |
String |
getPrefix(String namespace) |
boolean |
remove(String prefix) |
String |
serializePrefixesSparqlDeclaration() |
String |
serializePrefixMapping() |
public boolean containsPrefix(String prefix)
containsPrefix in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic boolean containsNamespace(String namespace)
containsNamespace in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic String getNamespace(String prefix)
getNamespace in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic String getPrefix(String namespace)
getPrefix in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic Map<String,String> getMappings()
getMappings in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic String getCurie(String uri)
getCurie in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic void add(String prefix, String namespace) throws IllegalArgumentException, URISyntaxException
add in interface org.apache.marmotta.platform.core.api.prefix.PrefixServiceIllegalArgumentExceptionURISyntaxExceptionpublic void forceAdd(String prefix, String namespace)
forceAdd in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic boolean remove(String prefix)
remove in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic String serializePrefixMapping()
serializePrefixMapping in interface org.apache.marmotta.platform.core.api.prefix.PrefixServicepublic String serializePrefixesSparqlDeclaration()
serializePrefixesSparqlDeclaration in interface org.apache.marmotta.platform.core.api.prefix.PrefixServiceCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.