org.topbraid.sparql.lib
Class SPARQLLibrary
java.lang.Object
org.topbraid.sparql.lib.SPARQLLibrary
public class SPARQLLibrary
- extends java.lang.Object
A singleton that can manage SPARQLLibraryEntries for the currently
active OntModel.
- Author:
- Holger Knublauch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPARQLLibrary
public SPARQLLibrary()
addListener
public void addListener(ISPARQLLibraryListener listener)
get
public static SPARQLLibrary get()
getEntries
public java.util.Set<SPARQLLibraryEntry> getEntries()
getSPARQLProperty
public com.hp.hpl.jena.rdf.model.Property getSPARQLProperty(com.hp.hpl.jena.ontology.OntModel ontModel)
getSPARQLPropertyURI
public java.lang.String getSPARQLPropertyURI()
refresh
public void refresh()
removeListener
public void removeListener(ISPARQLLibraryListener listener)