Class PrefixMappingBase

java.lang.Object
org.apache.jena.sparql.graph.PrefixMappingBase
All Implemented Interfaces:
PrefixMapping
Direct Known Subclasses:
PrefixMappingAdapter, PrefixMappingMem, PrefixMappingSink

public abstract class PrefixMappingBase extends Object implements PrefixMapping
Framework for implementing PrefixMapping. It is stateless (unlike PrefixMappingImpl) and implements the contract of PrefixMapping, providing the key algorithm and delegating storage to the subclasses.

Reverse mapping, looking up a URI to find a prefix is complex because there may be several possibilities. Applications should not rely on every implementation being consistent when there is a choice of which prefix to use to shorten a URI.