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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a prefix, overwrites any existing associationvoidDelete 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.voidAdd a prefix, overwrites any existing associationvoidAdd a prefix, overwrites any existing associationvoidputAll(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:PrefixMapReturn 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:
getMappingin interfacePrefixMap- Overrides:
getMappingin classPrefixMapWrapper- Returns:
- Underlying mapping
- See Also:
-
add
Description copied from interface:PrefixMapAdd a prefix, overwrites any existing association- Specified by:
addin interfacePrefixMap- Overrides:
addin classPrefixMapWrapper- Parameters:
prefix- PrefixiriString- Namespace IRI
-
putAll
Description copied from interface:PrefixMapAdd a prefix, overwrites any existing association- Specified by:
putAllin interfacePrefixMap- Overrides:
putAllin classPrefixMapWrapper- Parameters:
pmap- Prefix Map
-
putAll
Description copied from interface:PrefixMapAdd a prefix, overwrites any existing association- Specified by:
putAllin interfacePrefixMap- Overrides:
putAllin classPrefixMapWrapper- Parameters:
mapping- A Map of prefix name to IRI string
-
delete
Description copied from interface:PrefixMapDelete a prefix- Specified by:
deletein interfacePrefixMap- Overrides:
deletein classPrefixMapWrapper- Parameters:
prefix- Prefix to delete
-