E - the entity typeA - the axiom typepublic abstract class InferredEntityAxiomGenerator<E extends OWLEntity,A extends OWLAxiom> extends java.lang.Object implements InferredAxiomGenerator<A>
| Constructor and Description |
|---|
InferredEntityAxiomGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addAxioms(E entity,
OWLReasoner reasoner,
OWLDataFactory dataFactory,
java.util.Set<A> result)
Adds inferred axioms to a results set.
|
java.util.Set<A> |
createAxioms(OWLOntologyManager manager,
OWLReasoner reasoner) |
protected java.util.Set<E> |
getAllEntities(OWLReasoner reasoner) |
protected abstract java.util.Set<E> |
getEntities(OWLOntology ont)
Gets the entities from the specified ontology that this generator processes
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLabelpublic java.util.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, java.util.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 java.util.Set<E> getEntities(OWLOntology ont)
ont - The ontology from which entities are to be retrieved.protected java.util.Set<E> getAllEntities(OWLReasoner reasoner)
public java.lang.String toString()
toString in class java.lang.Object