Package org.semanticweb.owlapi.util
Class OWLOntologySingletonSetProvider
java.lang.Object
org.semanticweb.owlapi.util.OWLOntologySingletonSetProvider
- All Implemented Interfaces:
Serializable
,HasGetOntologies
,OWLOntologySetProvider
An ontology set provider which provides a singleton set - i.e. a set
containing just one ontology.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOWLOntologySingletonSetProvider
(OWLOntology ontology) Constructs anOWLOntologySingletonSetProvider
which provides a singleton set contain the specified ontology. -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.semanticweb.owlapi.model.HasGetOntologies
getOntologies
-
Constructor Details
-
OWLOntologySingletonSetProvider
Constructs anOWLOntologySingletonSetProvider
which provides a singleton set contain the specified ontology.- Parameters:
ontology
- The one and only ontology which should be contained in the sets provided by this provider.
-
-
Method Details
-
ontologies
- Specified by:
ontologies
in interfaceHasGetOntologies
- Returns:
- stream of ontologies contained within this object
-