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) |
void |
visit(OWLClass cls) |
void |
visit(OWLDataProperty property) |
void |
visit(OWLDatatype datatype) |
void |
visit(OWLNamedIndividual individual) |
void |
visit(OWLObjectProperty property) |
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)
visit in interface OWLEntityVisitorpublic void visit(OWLDatatype datatype)
visit in interface OWLEntityVisitorpublic void visit(OWLNamedIndividual individual)
visit in interface OWLEntityVisitorpublic void visit(OWLDataProperty property)
visit in interface OWLEntityVisitorpublic void visit(OWLObjectProperty property)
visit in interface OWLEntityVisitorpublic void visit(OWLAnnotationProperty property)
visit in interface OWLEntityVisitorCopyright © 2013 The University of Manchester. All Rights Reserved.