Franz Inc, AllegroGraph

com.franz.agraph.jena
Class AGPrefixMapping

java.lang.Object
  extended by com.franz.agraph.jena.AGPrefixMapping
All Implemented Interfaces:
com.hp.hpl.jena.shared.PrefixMapping

public class AGPrefixMapping
extends Object
implements com.hp.hpl.jena.shared.PrefixMapping

Implements the Jena PrefixMapping interface for AllegroGraph.


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
AGPrefixMapping(AGGraph graph)
           
 
Method Summary
 String expandPrefix(String prefixed)
           
 Map<String,String> getNsPrefixMap()
           
 String getNsPrefixURI(String prefix)
           
 String getNsURIPrefix(String uri)
           
 com.hp.hpl.jena.shared.PrefixMapping lock()
           
 String qnameFor(String uri)
           
 com.hp.hpl.jena.shared.PrefixMapping removeNsPrefix(String prefix)
           
 boolean samePrefixMappingAs(com.hp.hpl.jena.shared.PrefixMapping other)
           
 com.hp.hpl.jena.shared.PrefixMapping setNsPrefix(String prefix, String uri)
           
 com.hp.hpl.jena.shared.PrefixMapping setNsPrefixes(Map<String,String> map)
           
 com.hp.hpl.jena.shared.PrefixMapping setNsPrefixes(com.hp.hpl.jena.shared.PrefixMapping other)
           
 String shortForm(String uri)
           
 String toString()
           
 String toString(int max)
           
 com.hp.hpl.jena.shared.PrefixMapping withDefaultMappings(com.hp.hpl.jena.shared.PrefixMapping map)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AGPrefixMapping

public AGPrefixMapping(AGGraph graph)
Method Detail

expandPrefix

public String expandPrefix(String prefixed)
Specified by:
expandPrefix in interface com.hp.hpl.jena.shared.PrefixMapping

getNsPrefixMap

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

getNsPrefixURI

public String getNsPrefixURI(String prefix)
Specified by:
getNsPrefixURI in interface com.hp.hpl.jena.shared.PrefixMapping

getNsURIPrefix

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

lock

public com.hp.hpl.jena.shared.PrefixMapping lock()
Specified by:
lock in interface com.hp.hpl.jena.shared.PrefixMapping

qnameFor

public String qnameFor(String uri)
Specified by:
qnameFor in interface com.hp.hpl.jena.shared.PrefixMapping

removeNsPrefix

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

samePrefixMappingAs

public boolean samePrefixMappingAs(com.hp.hpl.jena.shared.PrefixMapping other)
Specified by:
samePrefixMappingAs in interface com.hp.hpl.jena.shared.PrefixMapping

setNsPrefix

public com.hp.hpl.jena.shared.PrefixMapping setNsPrefix(String prefix,
                                                        String uri)
Specified by:
setNsPrefix in interface com.hp.hpl.jena.shared.PrefixMapping

setNsPrefixes

public com.hp.hpl.jena.shared.PrefixMapping setNsPrefixes(com.hp.hpl.jena.shared.PrefixMapping other)
Specified by:
setNsPrefixes in interface com.hp.hpl.jena.shared.PrefixMapping

setNsPrefixes

public com.hp.hpl.jena.shared.PrefixMapping setNsPrefixes(Map<String,String> map)
Specified by:
setNsPrefixes in interface com.hp.hpl.jena.shared.PrefixMapping

shortForm

public String shortForm(String uri)
Specified by:
shortForm in interface com.hp.hpl.jena.shared.PrefixMapping

withDefaultMappings

public com.hp.hpl.jena.shared.PrefixMapping withDefaultMappings(com.hp.hpl.jena.shared.PrefixMapping map)
Specified by:
withDefaultMappings in interface com.hp.hpl.jena.shared.PrefixMapping

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(int max)

Copyright © 2008-2016 Franz Inc.