java.lang.Object
org.apache.jena.riot.system.PrefixMapNull
org.apache.jena.riot.system.PrefixMapSink
- All Implemented Interfaces:
PrefixMap
Empty prefix map that throws away updates.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a prefix, overwrites any existing associationvoid
clear()
Clear all prefixes.void
Delete a prefixvoid
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 associationtoString()
Methods inherited from class org.apache.jena.riot.system.PrefixMapNull
abbrev, abbreviate, containsPrefix, expand, expand, forEach, get, getMapping, getMappingCopy, isEmpty, size, stream
-
Field Details
-
sink
-
-
Method Details
-
add
Description copied from interface:PrefixMap
Add a prefix, overwrites any existing association- Specified by:
add
in interfacePrefixMap
- Overrides:
add
in classPrefixMapNull
- Parameters:
prefix
- Prefixiri
- Namespace IRI
-
putAll
Description copied from interface:PrefixMap
Add a prefix, overwrites any existing association- Specified by:
putAll
in interfacePrefixMap
- Overrides:
putAll
in classPrefixMapNull
- 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 classPrefixMapNull
- 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 classPrefixMapNull
- Parameters:
prefix
- Prefix to delete
-
clear
public void clear()Description copied from interface:PrefixMap
Clear all prefixes.- Specified by:
clear
in interfacePrefixMap
- Overrides:
clear
in classPrefixMapNull
-
toString
-