org.apache.jena.riot.adapters
Class AdapterLocationMapper
java.lang.Object
com.hp.hpl.jena.util.LocationMapper
org.apache.jena.riot.adapters.AdapterLocationMapper
public class AdapterLocationMapper
- extends LocationMapper
Adapter from Jena2 LocationMapper to RIOT LocationMapper
AdapterLocationMapper
public AdapterLocationMapper(LocationMapper mapper)
altMapping
public String altMapping(String uri,
String otherwise)
- Overrides:
altMapping in class LocationMapper
addAltEntry
public void addAltEntry(String uri,
String alt)
- Overrides:
addAltEntry in class LocationMapper
addAltPrefix
public void addAltPrefix(String uriPrefix,
String altPrefix)
- Overrides:
addAltPrefix in class LocationMapper
listAltEntries
public Iterator<String> listAltEntries()
- Iterate over all the entries registered
- Overrides:
listAltEntries in class LocationMapper
listAltPrefixes
public Iterator<String> listAltPrefixes()
- Iterate over all the prefixes registered
- Overrides:
listAltPrefixes in class LocationMapper
removeAltEntry
public void removeAltEntry(String uri)
- Overrides:
removeAltEntry in class LocationMapper
removeAltPrefix
public void removeAltPrefix(String uriPrefix)
- Overrides:
removeAltPrefix in class LocationMapper
getAltEntry
public String getAltEntry(String uri)
- Overrides:
getAltEntry in class LocationMapper
getAltPrefix
public String getAltPrefix(String uriPrefix)
- Overrides:
getAltPrefix in class LocationMapper
hashCode
public int hashCode()
- Overrides:
hashCode in class LocationMapper
equals
public boolean equals(Object obj)
- Overrides:
equals in class LocationMapper
toString
public String toString()
- Overrides:
toString in class LocationMapper
toModel
public void toModel(Model model)
- Overrides:
toModel in class LocationMapper
Licenced under the Apache License, Version 2.0