Class AdapterLocationMapper

java.lang.Object
org.apache.jena.util.LocationMapper
org.apache.jena.riot.adapters.AdapterLocationMapper

public class AdapterLocationMapper extends org.apache.jena.util.LocationMapper
Adapter from Jena core LocationMapper to RIOT LocationMapper
  • Constructor Details

    • AdapterLocationMapper

      public AdapterLocationMapper(LocationMapper mapper)
  • Method Details

    • altMapping

      public String altMapping(String uri, String otherwise)
      Overrides:
      altMapping in class org.apache.jena.util.LocationMapper
    • addAltEntry

      public void addAltEntry(String uri, String alt)
      Overrides:
      addAltEntry in class org.apache.jena.util.LocationMapper
    • addAltPrefix

      public void addAltPrefix(String uriPrefix, String altPrefix)
      Overrides:
      addAltPrefix in class org.apache.jena.util.LocationMapper
    • listAltEntries

      public Iterator<String> listAltEntries()
      Iterate over all the entries registered
      Overrides:
      listAltEntries in class org.apache.jena.util.LocationMapper
    • listAltPrefixes

      public Iterator<String> listAltPrefixes()
      Iterate over all the prefixes registered
      Overrides:
      listAltPrefixes in class org.apache.jena.util.LocationMapper
    • removeAltEntry

      public void removeAltEntry(String uri)
      Overrides:
      removeAltEntry in class org.apache.jena.util.LocationMapper
    • removeAltPrefix

      public void removeAltPrefix(String uriPrefix)
      Overrides:
      removeAltPrefix in class org.apache.jena.util.LocationMapper
    • getAltEntry

      public String getAltEntry(String uri)
      Overrides:
      getAltEntry in class org.apache.jena.util.LocationMapper
    • getAltPrefix

      public String getAltPrefix(String uriPrefix)
      Overrides:
      getAltPrefix in class org.apache.jena.util.LocationMapper
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.jena.util.LocationMapper
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class org.apache.jena.util.LocationMapper
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.jena.util.LocationMapper
    • toModel

      public void toModel(org.apache.jena.rdf.model.Model model)
      Overrides:
      toModel in class org.apache.jena.util.LocationMapper