org.semanticweb.owl.inference
Class NullReasonerFactory
java.lang.Object
org.semanticweb.owl.inference.NullReasonerFactory
- All Implemented Interfaces:
- OWLReasonerFactory
public class NullReasonerFactory
- extends java.lang.Object
- implements OWLReasonerFactory
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 02-Jun-2008
A reasoner factory that creates instances of the NullReasoner.
This is for use in situations where the
Null Object pattern is required. (http://en.wikipedia.org/wiki/Null_Object_pattern).
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullReasonerFactory
public NullReasonerFactory()
getReasonerName
public java.lang.String getReasonerName()
- Description copied from interface:
OWLReasonerFactory
- Gets the name of the reasoner that is created by this factory.
- Specified by:
getReasonerName
in interface OWLReasonerFactory
- Returns:
- A string that represents the name of the reasoner.
createReasoner
public OWLReasoner createReasoner(OWLOntologyManager manager)
- Description copied from interface:
OWLReasonerFactory
- Creates a reasoner that uses the specified manager.
- Specified by:
createReasoner
in interface OWLReasonerFactory
- Parameters:
manager
- The manager to be used (may be used by the
reasoner to obtain a data factory etc.)
- Returns:
- A new reasoner.