Interface NamespaceMapper
-
- All Superinterfaces:
org.apache.jena.rdf.model.ModelChangedListener
- All Known Implementing Classes:
NamespaceMapperJena
public interface NamespaceMapper extends org.apache.jena.rdf.model.ModelChangedListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNamespaceForPrefix(String prefix)Returns the full namespace URI represented by a given abbreviation, or null if not found.List<String>getPrefixesForNamespace(String namespace)Returns a list of abbreviations that have been used to represent a given namespace.StringgetPrefixForNamespace(String namespace)Returns the current abbreviation to use for a given namespace, or null if undefined.
-
-
-
Method Detail
-
getPrefixForNamespace
String getPrefixForNamespace(String namespace)
Returns the current abbreviation to use for a given namespace, or null if undefined.- Parameters:
namespace- Namespace
-
getPrefixesForNamespace
List<String> getPrefixesForNamespace(String namespace)
Returns a list of abbreviations that have been used to represent a given namespace.- Parameters:
namespace- Namespace
-
-