|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jena.riot.system.PrefixMapWrapper
org.apache.jena.riot.system.PrefixMapUnmodifiable
public class PrefixMapUnmodifiable
A PrefixMap that traps update operations on a wrapped prefix map
| Constructor Summary | |
|---|---|
PrefixMapUnmodifiable(PrefixMap other)
|
|
| Method Summary | |
|---|---|
void |
add(String prefix,
org.apache.jena.iri.IRI iri)
Add a prefix, overwrites any existing association |
void |
add(String prefix,
String iriString)
Add a prefix, overwrites any existing association |
void |
delete(String prefix)
Delete a prefix |
Map<String,org.apache.jena.iri.IRI> |
getMapping()
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 |
void |
putAll(Map<String,String> mapping)
Add a prefix, overwrites any existing association |
void |
putAll(PrefixMap pmap)
Add a prefix, overwrites any existing association |
void |
putAll(PrefixMapping pmap)
Add a prefix, overwrites any existing association |
| Methods inherited from class org.apache.jena.riot.system.PrefixMapWrapper |
|---|
abbrev, abbreviate, contains, expand, expand, getMappingCopy, getMappingCopyStr, isEmpty, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrefixMapUnmodifiable(PrefixMap other)
| Method Detail |
|---|
public Map<String,org.apache.jena.iri.IRI> getMapping()
PrefixMap
getMapping in interface PrefixMapgetMapping in class PrefixMapWrapper
public void add(String prefix,
String iriString)
PrefixMap
add in interface PrefixMapadd in class PrefixMapWrapperprefix - PrefixiriString - Namespace IRI
public void add(String prefix,
org.apache.jena.iri.IRI iri)
PrefixMap
add in interface PrefixMapadd in class PrefixMapWrapperprefix - Prefixiri - Namespace IRIpublic void putAll(PrefixMap pmap)
PrefixMap
putAll in interface PrefixMapputAll in class PrefixMapWrapperpmap - Prefix Mappublic void putAll(PrefixMapping pmap)
PrefixMap
putAll in interface PrefixMapputAll in class PrefixMapWrapperpmap - Prefix Mappingpublic void putAll(Map<String,String> mapping)
PrefixMap
putAll in interface PrefixMapputAll in class PrefixMapWrappermapping - A Map of prefix name to IRI stringpublic void delete(String prefix)
PrefixMap
delete in interface PrefixMapdelete in class PrefixMapWrapperprefix - Prefix to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||