public class OWLEntityRemover extends Object implements OWLEntityVisitor
| Constructor and Description |
|---|
OWLEntityRemover(OWLOntologyManager owlOntologyManager,
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<OWLOntologyChange> |
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(OWLOntologyManager owlOntologyManager, Set<OWLOntology> ontologies)
owlOntologyManager - The OWLOntologyManager which contains the ontologies
that contain entities to be removed.ontologies - The set of ontologies that contain references to axioms to be
removed.public List<OWLOntologyChange> getChanges()
public void reset()
public void visit(OWLClass cls)
OWLEntityVisitorvisit in interface OWLEntityVisitorcls - object to visitpublic void visit(OWLDatatype datatype)
OWLEntityVisitorvisit in interface OWLEntityVisitordatatype - object to visitpublic void visit(OWLNamedIndividual individual)
OWLEntityVisitorvisit in interface OWLEntityVisitorindividual - object to visitpublic void visit(OWLDataProperty property)
OWLEntityVisitorvisit in interface OWLEntityVisitorproperty - object to visitpublic void visit(OWLObjectProperty property)
OWLEntityVisitorvisit in interface OWLEntityVisitorproperty - object to visitpublic void visit(OWLAnnotationProperty property)
OWLEntityVisitorvisit in interface OWLEntityVisitorproperty - object to visitCopyright © 2014 The University of Manchester. All Rights Reserved.