com.hp.hpl.jena.sparql.graph
Class GraphPrefixesProjection

java.lang.Object
  extended by com.hp.hpl.jena.shared.impl.PrefixMappingImpl
      extended by com.hp.hpl.jena.sparql.graph.GraphPrefixesProjection
All Implemented Interfaces:
com.hp.hpl.jena.shared.PrefixMapping

public class GraphPrefixesProjection
extends com.hp.hpl.jena.shared.impl.PrefixMappingImpl

View of a dataset's prefixes for a particular graph


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.shared.PrefixMapping
com.hp.hpl.jena.shared.PrefixMapping.Factory, com.hp.hpl.jena.shared.PrefixMapping.IllegalPrefixException, com.hp.hpl.jena.shared.PrefixMapping.JenaLockedException
 
Field Summary
 
Fields inherited from interface com.hp.hpl.jena.shared.PrefixMapping
Extended, Standard
 
Constructor Summary
GraphPrefixesProjection(String graphName, DatasetPrefixStorage prefixes)
           
 
Method Summary
 Map<String,String> getNsPrefixMap()
           
 String getNsURIPrefix(String uri)
           
 com.hp.hpl.jena.shared.PrefixMapping removeNsPrefix(String prefix)
           
 
Methods inherited from class com.hp.hpl.jena.shared.impl.PrefixMappingImpl
expandPrefix, getNsPrefixURI, isNiceURI, lock, qnameFor, samePrefixMappingAs, setNsPrefix, setNsPrefixes, setNsPrefixes, shortForm, toString, withDefaultMappings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphPrefixesProjection

public GraphPrefixesProjection(String graphName,
                               DatasetPrefixStorage prefixes)
Method Detail

getNsURIPrefix

public String getNsURIPrefix(String uri)
Specified by:
getNsURIPrefix in interface com.hp.hpl.jena.shared.PrefixMapping
Overrides:
getNsURIPrefix in class com.hp.hpl.jena.shared.impl.PrefixMappingImpl

getNsPrefixMap

public Map<String,String> getNsPrefixMap()
Specified by:
getNsPrefixMap in interface com.hp.hpl.jena.shared.PrefixMapping
Overrides:
getNsPrefixMap in class com.hp.hpl.jena.shared.impl.PrefixMappingImpl

removeNsPrefix

public com.hp.hpl.jena.shared.PrefixMapping removeNsPrefix(String prefix)
Specified by:
removeNsPrefix in interface com.hp.hpl.jena.shared.PrefixMapping
Overrides:
removeNsPrefix in class com.hp.hpl.jena.shared.impl.PrefixMappingImpl


Licenced under the Apache License, Version 2.0