Class PrefixMappingReadOnly

java.lang.Object
org.apache.jena.sparql.graph.PrefixMappingReadOnly
All Implemented Interfaces:
org.apache.jena.shared.PrefixMapping

public class PrefixMappingReadOnly extends Object implements org.apache.jena.shared.PrefixMapping
  • Constructor Details

    • PrefixMappingReadOnly

      public PrefixMappingReadOnly(org.apache.jena.shared.PrefixMapping other)
  • Method Details

    • setNsPrefix

      public org.apache.jena.shared.PrefixMapping setNsPrefix(String prefix, String uri)
      Specified by:
      setNsPrefix in interface org.apache.jena.shared.PrefixMapping
    • removeNsPrefix

      public org.apache.jena.shared.PrefixMapping removeNsPrefix(String prefix)
      Specified by:
      removeNsPrefix in interface org.apache.jena.shared.PrefixMapping
    • clearNsPrefixMap

      public org.apache.jena.shared.PrefixMapping clearNsPrefixMap()
      Specified by:
      clearNsPrefixMap in interface org.apache.jena.shared.PrefixMapping
    • setNsPrefixes

      public org.apache.jena.shared.PrefixMapping setNsPrefixes(org.apache.jena.shared.PrefixMapping other)
      Specified by:
      setNsPrefixes in interface org.apache.jena.shared.PrefixMapping
    • setNsPrefixes

      public org.apache.jena.shared.PrefixMapping setNsPrefixes(Map<String,String> map)
      Specified by:
      setNsPrefixes in interface org.apache.jena.shared.PrefixMapping
    • withDefaultMappings

      public org.apache.jena.shared.PrefixMapping withDefaultMappings(org.apache.jena.shared.PrefixMapping map)
      Specified by:
      withDefaultMappings in interface org.apache.jena.shared.PrefixMapping
    • getNsPrefixURI

      public String getNsPrefixURI(String prefix)
      Specified by:
      getNsPrefixURI in interface org.apache.jena.shared.PrefixMapping
    • getNsURIPrefix

      public String getNsURIPrefix(String uri)
      Specified by:
      getNsURIPrefix in interface org.apache.jena.shared.PrefixMapping
    • getNsPrefixMap

      public Map<String,String> getNsPrefixMap()
      Specified by:
      getNsPrefixMap in interface org.apache.jena.shared.PrefixMapping
    • expandPrefix

      public String expandPrefix(String prefixed)
      Specified by:
      expandPrefix in interface org.apache.jena.shared.PrefixMapping
    • shortForm

      public String shortForm(String uri)
      Specified by:
      shortForm in interface org.apache.jena.shared.PrefixMapping
    • qnameFor

      public String qnameFor(String uri)
      Specified by:
      qnameFor in interface org.apache.jena.shared.PrefixMapping
    • lock

      public org.apache.jena.shared.PrefixMapping lock()
      Specified by:
      lock in interface org.apache.jena.shared.PrefixMapping
    • numPrefixes

      public int numPrefixes()
      Specified by:
      numPrefixes in interface org.apache.jena.shared.PrefixMapping
    • samePrefixMappingAs

      public boolean samePrefixMappingAs(org.apache.jena.shared.PrefixMapping prefixMapping)
      Specified by:
      samePrefixMappingAs in interface org.apache.jena.shared.PrefixMapping