org.apache.jena.riot.adapters
Class AdapterLocationMapper

java.lang.Object
  extended by com.hp.hpl.jena.util.LocationMapper
      extended by org.apache.jena.riot.adapters.AdapterLocationMapper

public class AdapterLocationMapper
extends LocationMapper

Adapter from Jena2 LocationMapper to RIOT LocationMapper


Field Summary
 
Fields inherited from class com.hp.hpl.jena.util.LocationMapper
DEFAULT_PATH, GlobalMapperSystemProperty1, GlobalMapperSystemProperty2
 
Constructor Summary
AdapterLocationMapper(LocationMapper mapper)
           
 
Method Summary
 void addAltEntry(String uri, String alt)
           
 void addAltPrefix(String uriPrefix, String altPrefix)
           
 String altMapping(String uri, String otherwise)
           
 boolean equals(Object obj)
           
 String getAltEntry(String uri)
           
 String getAltPrefix(String uriPrefix)
           
 int hashCode()
           
 Iterator<String> listAltEntries()
          Iterate over all the entries registered
 Iterator<String> listAltPrefixes()
          Iterate over all the prefixes registered
 void removeAltEntry(String uri)
           
 void removeAltPrefix(String uriPrefix)
           
 void toModel(Model model)
           
 String toString()
           
 
Methods inherited from class com.hp.hpl.jena.util.LocationMapper
altMapping, get, makeGlobal, processConfig, setGlobalLocationMapper, toModel
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdapterLocationMapper

public AdapterLocationMapper(LocationMapper mapper)
Method Detail

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