java.lang.Object
org.apache.jena.riot.system.PrefixMapWrapper
org.apache.jena.riot.system.PrefixMapUnmodifiable
- All Implemented Interfaces:
PrefixMap
A PrefixMap that traps update operations on a wrapped prefix map
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a prefix, overwrites any existing associationvoid
Delete a prefixReturn the underlying mapping, this is generally unsafe to modify and implementations may opt to return an unmodifiable view of the mapping if they wish.void
Add a prefix, overwrites any existing associationvoid
Add a prefix, overwrites any existing associationvoid
putAll
(org.apache.jena.shared.PrefixMapping pmap) Add a prefix, overwrites any existing associationMethods inherited from class org.apache.jena.riot.system.PrefixMapWrapper
abbrev, abbreviate, clear, containsPrefix, expand, expand, forEach, get, getMappingCopy, isEmpty, size, stream
-
Constructor Details
-
PrefixMapUnmodifiable
-
-
Method Details
-
getMapping
Description copied from interface:PrefixMap
Return the underlying mapping, this is generally unsafe to modify and implementations may opt to return an unmodifiable view of the mapping if they wish.- Specified by:
getMapping
in interfacePrefixMap
- Overrides:
getMapping
in classPrefixMapWrapper
- Returns:
- Underlying mapping
- See Also:
-
add
Description copied from interface:PrefixMap
Add a prefix, overwrites any existing association- Specified by:
add
in interfacePrefixMap
- Overrides:
add
in classPrefixMapWrapper
- Parameters:
prefix
- PrefixiriString
- Namespace IRI
-
putAll
Description copied from interface:PrefixMap
Add a prefix, overwrites any existing association- Specified by:
putAll
in interfacePrefixMap
- Overrides:
putAll
in classPrefixMapWrapper
- Parameters:
pmap
- Prefix Map
-
putAll
Description copied from interface:PrefixMap
Add a prefix, overwrites any existing association- Specified by:
putAll
in interfacePrefixMap
- Overrides:
putAll
in classPrefixMapWrapper
- Parameters:
mapping
- A Map of prefix name to IRI string
-
delete
Description copied from interface:PrefixMap
Delete a prefix- Specified by:
delete
in interfacePrefixMap
- Overrides:
delete
in classPrefixMapWrapper
- Parameters:
prefix
- Prefix to delete
-