| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.owl.util.InferredOntologyGenerator
public class InferredOntologyGenerator
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 27-Jul-2007
 
InferredAxiomGenerators which generate specific
 kinds of axioms e.g. subclass axioms.
| Constructor Summary | |
|---|---|
InferredOntologyGenerator(OWLReasoner reasoner)
 | 
|
InferredOntologyGenerator(OWLReasoner reasoner,
                          java.util.List<InferredAxiomGenerator<? extends OWLAxiom>> axiomGenerators)
 | 
|
| Method Summary | |
|---|---|
 void | 
addGenerator(InferredAxiomGenerator generator)
Adds a generator if it isn't already in the list of generators  | 
 void | 
fillOntology(OWLOntologyManager manager,
             OWLOntology ontology)
Adds 'inferred axioms' to an ontology using the generators that have been registered with this InferredAxiomGenerator | 
 java.util.List<InferredAxiomGenerator> | 
getAxiomGenerators()
 | 
 void | 
removeGenerator(InferredAxiomGenerator generator)
Removes a generator  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InferredOntologyGenerator(OWLReasoner reasoner,
                                 java.util.List<InferredAxiomGenerator<? extends OWLAxiom>> axiomGenerators)
public InferredOntologyGenerator(OWLReasoner reasoner)
| Method Detail | 
|---|
public java.util.List<InferredAxiomGenerator> getAxiomGenerators()
public void addGenerator(InferredAxiomGenerator generator)
generator - The generator to be added.public void removeGenerator(InferredAxiomGenerator generator)
generator - the generator to be removed
public void fillOntology(OWLOntologyManager manager,
                         OWLOntology ontology)
                  throws InferredAxiomGeneratorException,
                         OWLOntologyChangeException,
                         OWLReasonerException
InferredAxiomGenerator
manager - The manager which can be used to obtain a data factory and
                 apply changes.ontology - The ontology which the inferred axioms will be added to
InferredAxiomGeneratorException - if some inferred axioms could not be generated
 because the reasoner that is used to generate the axioms doesn't support the kinds of
 queries required to generate the axiom.
OWLReasonerException - If there was a problem with querying the reasoner.
OWLOntologyChangeException - If there was a problem adding the inferred
 axioms to the specified ontology.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||