org.topbraid.sparql.lib
Class SPARQLLibrary

java.lang.Object
  extended by 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

Constructor Summary
SPARQLLibrary()
           
 
Method Summary
 void addListener(ISPARQLLibraryListener listener)
           
static SPARQLLibrary get()
           
 java.util.Set<SPARQLLibraryEntry> getEntries()
           
 com.hp.hpl.jena.rdf.model.Property getSPARQLProperty(com.hp.hpl.jena.ontology.OntModel ontModel)
           
 java.lang.String getSPARQLPropertyURI()
           
 void refresh()
           
 void removeListener(ISPARQLLibraryListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPARQLLibrary

public SPARQLLibrary()
Method Detail

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)