| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.clarkparsia.explanation.util.OntologyUtils
public class OntologyUtils
Copyright: Copyright (c) 2007
 Company: Clark & Parsia, LLC. 
| Constructor Summary | |
|---|---|
| OntologyUtils() | |
| Method Summary | |
|---|---|
| static void | addAxiom(OWLAxiom axiom,
         java.util.Set<OWLOntology> ontologies,
         OWLOntologyManager manager)Add the axiom to all the given ontologies. | 
| static boolean | containsUnreferencedEntity(OWLOntology ontology,
                           OWLDescription desc)Determines if a class description contains any unreferenced entities with respect to the ontology that contains the entailments which are being explained. | 
| static java.util.Set<OWLOntology> | removeAxiom(OWLAxiom axiom,
            java.util.Set<OWLOntology> ontologies,
            OWLOntologyManager manager)Removes an axiom from all the given ontologies that contains the axiom and returns those ontologies. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public OntologyUtils()
| Method Detail | 
|---|
public static boolean containsUnreferencedEntity(OWLOntology ontology,
                                                 OWLDescription desc)
desc - The description to be searched
true if the description references entities that
         the ontology that contains entailments which are being explained,
         otherwise false
public static java.util.Set<OWLOntology> removeAxiom(OWLAxiom axiom,
                                                     java.util.Set<OWLOntology> ontologies,
                                                     OWLOntologyManager manager)
                                              throws OWLOntologyChangeException
axiom - axiom being removedontologies - ontologies from which axiom is being removedmanager - manager to apply the actual change
OWLOntologyChangeException
public static void addAxiom(OWLAxiom axiom,
                            java.util.Set<OWLOntology> ontologies,
                            OWLOntologyManager manager)
                     throws OWLOntologyChangeException
OWLOntologyChangeException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||