org.semanticweb.owl.util
Class OWLOntologyMerger

java.lang.Object
  extended by org.semanticweb.owl.util.OWLOntologyMerger
All Implemented Interfaces:
OWLAxiomFilter

public class OWLOntologyMerger
extends java.lang.Object
implements OWLAxiomFilter

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 29-Apr-2007

A very very simple merger, which just creates an ontology which contains the union of axioms from a set of ontologies.


Constructor Summary
OWLOntologyMerger(OWLOntologySetProvider setProvider)
           
OWLOntologyMerger(OWLOntologySetProvider setProvider, boolean mergeOnlyLogicalAxioms)
           
OWLOntologyMerger(OWLOntologySetProvider setProvider, OWLAxiomFilter axiomFilter)
           
 
Method Summary
 OWLOntology createMergedOntology(OWLOntologyManager ontologyManager, java.net.URI ontologyURI)
           
 boolean passes(OWLAxiom axiom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLOntologyMerger

public OWLOntologyMerger(OWLOntologySetProvider setProvider)

OWLOntologyMerger

public OWLOntologyMerger(OWLOntologySetProvider setProvider,
                         boolean mergeOnlyLogicalAxioms)

OWLOntologyMerger

public OWLOntologyMerger(OWLOntologySetProvider setProvider,
                         OWLAxiomFilter axiomFilter)
Method Detail

createMergedOntology

public OWLOntology createMergedOntology(OWLOntologyManager ontologyManager,
                                        java.net.URI ontologyURI)
                                 throws OWLOntologyCreationException,
                                        OWLOntologyChangeException
Throws:
OWLOntologyCreationException
OWLOntologyChangeException

passes

public boolean passes(OWLAxiom axiom)
Specified by:
passes in interface OWLAxiomFilter