|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IModelSelection
An interface for objects that can manage a selected OntModel (together with its base URI and some other things). This is essentially just introduced as a super interface of ISession to separate concerns.
| Method Summary | |
|---|---|
void |
addModelSelectionListener(IModelSelectionListener l)
Adds an IModelSelectionListener to receive events whenever the session's global model selection changes. |
com.hp.hpl.jena.rdf.model.Model |
getSelectedBaseModel()
Gets the currently selected base model. |
java.net.URI |
getSelectedBaseURI()
|
com.hp.hpl.jena.ontology.OntModel |
getSelectedOntModel()
Gets the currently selected OntModel. |
boolean |
isFastModelSelected()
Checks if the currently selected OntModel is a "fast" model so that callers can make assumptions about the performance of certain operations. |
void |
removeModelSelectionListener(IModelSelectionListener l)
Removes a previously added IModelSelectionListener. |
void |
setSelectedBaseURI(java.net.URI baseURI)
|
| Method Detail |
|---|
void addModelSelectionListener(IModelSelectionListener l)
l - the IModelSelectionListener to addcom.hp.hpl.jena.rdf.model.Model getSelectedBaseModel()
java.net.URI getSelectedBaseURI()
com.hp.hpl.jena.ontology.OntModel getSelectedOntModel()
boolean isFastModelSelected()
void removeModelSelectionListener(IModelSelectionListener l)
l - the IModelSelectionListener to removevoid setSelectedBaseURI(java.net.URI baseURI)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||