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, wait
doDefault, getDefaultReturnValue, handleDefault
public 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)
OWLClassVisitorBase
visit
in interface OWLClassVisitorBase
cls
- ce to visitpublic void visit(OWLDatatype datatype)
OWLDataEntityVisitorBase
visit
in interface OWLDataEntityVisitorBase
datatype
- node to visitpublic void visit(OWLNamedIndividual individual)
OWLIndividualEntityVisitorBase
visit
in interface OWLIndividualEntityVisitorBase
individual
- individual to visitpublic void visit(OWLDataProperty property)
OWLPropertyEntityVisitorBase
visit
in interface OWLPropertyEntityVisitorBase
property
- property to visitpublic void visit(OWLObjectProperty property)
OWLPropertyEntityVisitorBase
visit
in interface OWLPropertyEntityVisitorBase
property
- property to visitpublic void visit(OWLAnnotationProperty property)
OWLPropertyEntityVisitorBase
visit
in interface OWLPropertyEntityVisitorBase
property
- property to visitCopyright © 2020 The University of Manchester. All rights reserved.