Class Namespaces
java.lang.Object
org.eclipse.rdf4j.model.util.Namespaces
- 
Field Summary
FieldsModifier and TypeFieldDescriptionRDFa initial namespaces + additional set of prefixes for RDF4JSet of RDFa 1.1 "initial context" namespaces - 
Method Summary
Modifier and TypeMethodDescriptionConverts a set ofNamespaces into a map containing theNamespace.getPrefix()strings as keys, with theNamespace.getName()strings as values in the map for each namespace in the given set. 
- 
Field Details
- 
DEFAULT_RDFA11
 - 
DEFAULT_RDF4J
 
 - 
 - 
Method Details
- 
asMap
Converts a set ofNamespaces into a map containing theNamespace.getPrefix()strings as keys, with theNamespace.getName()strings as values in the map for each namespace in the given set. - 
wrap
Wraps the givenSetofNamespaces as aMapof prefix to URI mappings, so that it can be used where aMapis required by the API.
NOTE: The Map returned by this method is not synchronized.- Parameters:
 namespaces- The Set to wrap.- Returns:
 - A Map of prefix to URI mappings which is backed by the given Set of 
Namespaces. 
 
 -