Package org.semanticweb.owlapi.model
Interface OWLOntologyBuilder
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An ontology builder is responsible for choosing an OWLOntology implementation. This interface
allows for injecting different OWLOntology implementations without having to rewrite code
implemented in OWLOntologyFactory classes.
- Since:
- 4.0.0
- Author:
- Ignazio
-
Method Summary
Modifier and TypeMethodDescriptioncreateOWLOntology
(OWLOntologyManager manager, OWLOntologyID ontologyID) default void
setLock
(ReadWriteLock lock) Override the lock in the ontology builder; this is a workaround for #806
-
Method Details
-
createOWLOntology
- Parameters:
manager
- manager for the ontology to be createdontologyID
- id for the ontology to be created- Returns:
- new ontology instance
-
setLock
Override the lock in the ontology builder; this is a workaround for #806- Parameters:
lock
- overriding lock instance to use
-