E - the entity typeA - the axiom typepublic abstract class InferredEntityAxiomGenerator<E extends OWLEntity,A extends OWLAxiom> extends Object implements InferredAxiomGenerator<A>
| Constructor and Description |
|---|
InferredEntityAxiomGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addAxioms(E entity,
OWLReasoner reasoner,
OWLDataFactory dataFactory,
Set<A> result)
Adds inferred axioms to a results set.
|
Set<A> |
createAxioms(OWLOntologyManager manager,
OWLReasoner reasoner) |
protected Set<E> |
getAllEntities(OWLReasoner reasoner) |
protected abstract Set<E> |
getEntities(OWLOntology ont)
Gets the entities from the specified ontology that this generator
processes.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLabelpublic Set<A> createAxioms(OWLOntologyManager manager, OWLReasoner reasoner)
createAxioms in interface InferredAxiomGenerator<A extends OWLAxiom>manager - the menager to usereasoner - the reasoner to useprotected abstract void addAxioms(E entity, OWLReasoner reasoner, OWLDataFactory dataFactory, Set<A> result)
entity - The entityreasoner - The reasoner that has inferred the new axiomsdataFactory - A data factory which should be used to create the new axiomsresult - The results set, which the new axioms should be added to.protected abstract Set<E> getEntities(OWLOntology ont)
ont - The ontology from which entities are to be retrieved.protected Set<E> getAllEntities(OWLReasoner reasoner)
Copyright © 2014 The University of Manchester. All Rights Reserved.