Class OWLManager
java.lang.Object
org.semanticweb.owlapi.apibinding.OWLManager
- All Implemented Interfaces:
Serializable,Supplier<OWLOntologyManager>,OWLOntologyManagerFactory
Provides a point of convenience for creating an
OWLOntologyManager with commonly required
features (such as an RDF parser for example).- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OWLOntologyManagerCreates an OWL ontology manager that is configured with the standard parsers and storers and provides locking for concurrent access.static ManchesterOWLSyntaxParserstatic OWLOntologyManagerCreates an OWL ontology manager that is configured with standard parsers, storers etc.get()static OWLDataFactoryGets a global data factory that can be used to create OWL API objects.static OWLDataFactoryGets a global data factory that can be used to create OWL API objects.
-
Constructor Details
-
OWLManager
public OWLManager()
-
-
Method Details
-
createOWLOntologyManager
Creates an OWL ontology manager that is configured with standard parsers, storers etc.- Returns:
- The new manager.
-
createConcurrentOWLOntologyManager
Creates an OWL ontology manager that is configured with the standard parsers and storers and provides locking for concurrent access.- Returns:
- The new manager.
-
getOWLDataFactory
Gets a global data factory that can be used to create OWL API objects.- Parameters:
config- configuration object allowing a data factory behaviour to be tweaked. Currently this only affects the creation of OWL constructs where collections are not allowed to have duplicates.- Returns:
- An OWLDataFactory that can be used for creating OWL API objects.
-
getOWLDataFactory
Gets a global data factory that can be used to create OWL API objects.- Returns:
- An OWLDataFactory that can be used for creating OWL API objects.
-
createManchesterParser
- Returns:
- an initialized manchester syntax parser for parsing strings
-
get
- Specified by:
getin interfaceOWLOntologyManagerFactory- Specified by:
getin interfaceSupplier<OWLOntologyManager>
-