public class OWLEntityRemover extends Object implements OWLEntityVisitor
| Constructor and Description |
|---|
OWLEntityRemover(Collection<OWLOntology> ontologies)
Creates an entity remover, which will remove entities (axioms referring
to the entities from the specified ontologies).
|
OWLEntityRemover(OWLOntology ontology)
Creates an entity remover, which will remove entities (axioms referring
to the entities from the specified ontologies).
|
OWLEntityRemover(Stream<OWLOntology> ontologies)
Creates an entity remover, which will remove entities (axioms referring
to the entities from the specified ontologies).
|
| Modifier and Type | Method and Description |
|---|---|
List<RemoveAxiom> |
getChanges() |
void |
reset()
Clears any changes which have accumulated over the course of visiting
different entities.
|
void |
visit(OWLAnnotationProperty property)
visit OWLAnnotationProperty type
|
void |
visit(OWLClass cls)
visit OWLClass type
|
void |
visit(OWLDataProperty property)
visit OWLDataProperty type
|
void |
visit(OWLDatatype datatype)
visit OWLDatatype type
|
void |
visit(OWLNamedIndividual individual)
visit OWLNamedIndividual type
|
void |
visit(OWLObjectProperty property)
visit OWLObjectProperty type
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoDefault, getDefaultReturnValue, handleDefaultpublic OWLEntityRemover(Collection<OWLOntology> ontologies)
ontologies - The set of ontologies that contain references to axioms to be removed.public OWLEntityRemover(Stream<OWLOntology> ontologies)
ontologies - The stream of ontologies that contain references to axioms to be removed.public OWLEntityRemover(OWLOntology ontology)
ontology - The ontology that contain references to axioms to be removed.public List<RemoveAxiom> getChanges()
public void reset()
public void visit(OWLClass cls)
OWLClassVisitorBasevisit in interface OWLClassVisitorBasecls - ce to visitpublic void visit(OWLDatatype datatype)
OWLDataEntityVisitorBasevisit in interface OWLDataEntityVisitorBasedatatype - node to visitpublic void visit(OWLNamedIndividual individual)
OWLIndividualEntityVisitorBasevisit in interface OWLIndividualEntityVisitorBaseindividual - individual to visitpublic void visit(OWLDataProperty property)
OWLPropertyEntityVisitorBasevisit in interface OWLPropertyEntityVisitorBaseproperty - property to visitpublic void visit(OWLObjectProperty property)
OWLPropertyEntityVisitorBasevisit in interface OWLPropertyEntityVisitorBaseproperty - property to visitpublic void visit(OWLAnnotationProperty property)
OWLPropertyEntityVisitorBasevisit in interface OWLPropertyEntityVisitorBaseproperty - property to visitCopyright © 2017 The University of Manchester. All rights reserved.