public class OWLEntityRemover extends Object implements OWLEntityVisitor
Constructor and Description |
---|
OWLEntityRemover(Set<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
|
public OWLEntityRemover(@Nonnull Set<OWLOntology> ontologies)
ontologies
- The set of ontologies that contain references to axioms to be
removed.@Nonnull public List<RemoveAxiom> getChanges()
public void reset()
public void visit(OWLClass cls)
OWLEntityVisitor
visit
in interface OWLEntityVisitor
cls
- cls to visitpublic void visit(OWLDatatype datatype)
OWLEntityVisitor
visit
in interface OWLEntityVisitor
datatype
- datatype to visitpublic void visit(OWLNamedIndividual individual)
OWLEntityVisitor
visit
in interface OWLEntityVisitor
individual
- individual to visitpublic void visit(OWLDataProperty property)
OWLEntityVisitor
visit
in interface OWLEntityVisitor
property
- property to visitpublic void visit(OWLObjectProperty property)
OWLEntityVisitor
visit
in interface OWLEntityVisitor
property
- property to visitpublic void visit(OWLAnnotationProperty property)
OWLEntityVisitor
visit
in interface OWLEntityVisitor
property
- property to visitCopyright © 2020 The University of Manchester. All rights reserved.