Class OWLManager

java.lang.Object
org.semanticweb.owlapi.apibinding.OWLManager
All Implemented Interfaces:
Serializable, Supplier<OWLOntologyManager>, OWLOntologyManagerFactory

public class OWLManager extends Object implements 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 Details

    • OWLManager

      public OWLManager()
  • Method Details

    • createOWLOntologyManager

      public static OWLOntologyManager createOWLOntologyManager()
      Creates an OWL ontology manager that is configured with standard parsers, storers etc.
      Returns:
      The new manager.
    • createConcurrentOWLOntologyManager

      public static OWLOntologyManager 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

      public static OWLDataFactory getOWLDataFactory(OWLOntologyLoaderConfiguration config)
      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

      public static OWLDataFactory 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

      public static ManchesterOWLSyntaxParser createManchesterParser()
      Returns:
      an initialized manchester syntax parser for parsing strings
    • get

      public OWLOntologyManager get()
      Description copied from interface: OWLOntologyManagerFactory
      Creates a new ontology manager.
      Specified by:
      get in interface OWLOntologyManagerFactory
      Specified by:
      get in interface Supplier<OWLOntologyManager>