|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLReasonerManager
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 02-Jun-2008
A convenience point for managing various reasoners (for
use in applications etc.). The reasoner manager maintains
a list of reasoner factories and a currently "selected" reasoner
factory. It also maintains a cached copy of a reasoner that
corresponds to a reasoner that has been instantiated by the current
reasoner factory. The manager fires events if the current reasoner
factory is changed.
Method Summary | |
---|---|
void |
addListener(OWLReasonerManagerListener listener)
Adds a listener to this reasoner manager. |
OWLReasoner |
createReasoner()
Creates a new instance of a reasoner using the current reasoner factory. |
OWLReasoner |
getReasoner()
Gets the currently cached reasoner. |
OWLReasonerFactory |
getReasonerFactory()
Gets the current reasoner factory. |
java.util.List<OWLReasonerFactory> |
getRegisteredReasonerFactories()
Gets a list of currently registered reasoner factories. |
void |
registerReasonerFactory(OWLReasonerFactory factory)
Registers (adds) a new reasoner factory. |
void |
removeListener(OWLReasonerManagerListener listener)
Removes a previously added listener to this manager. |
void |
setReasonerFactory(OWLReasonerFactory factory)
Sets the current reasoner factory. |
void |
unregisterReasonerFactory(OWLReasonerFactory factory)
Unregisters (removes) a previously registerd reasoner factory. |
Method Detail |
---|
void addListener(OWLReasonerManagerListener listener)
listener
- The listener to be added.void removeListener(OWLReasonerManagerListener listener)
listener
- The listener to be removed.java.util.List<OWLReasonerFactory> getRegisteredReasonerFactories()
void registerReasonerFactory(OWLReasonerFactory factory)
factory
- The factory to be registered.void unregisterReasonerFactory(OWLReasonerFactory factory)
factory
- The factory to be unregisterd.void setReasonerFactory(OWLReasonerFactory factory) throws OWLReasonerException
factory
- The reasoner factory that should be set
as the current factory. Note that a runtime exception will be
thrown if the specified reasoner factory is not a registered
reasoner factory.
OWLReasonerException
- if there was a problem in
disposing of the currently cached reasoner.OWLReasonerFactory getReasonerFactory()
null
OWLReasoner getReasoner()
null
.OWLReasoner createReasoner()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |