org.semanticweb.owlapi.util
Class OWLOntologySingletonSetProvider

java.lang.Object
  extended by org.semanticweb.owlapi.util.OWLOntologySingletonSetProvider
All Implemented Interfaces:
OWLOntologySetProvider

public class OWLOntologySingletonSetProvider
extends java.lang.Object
implements OWLOntologySetProvider

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

An ontology set provider which provides a singleton set - i.e. a set containing just one ontology.


Constructor Summary
OWLOntologySingletonSetProvider(OWLOntology ontology)
          Constructs an OWLOntologySingletonSetProvider which provides a singleton set contain the specified ontology.
 
Method Summary
 java.util.Set<OWLOntology> getOntologies()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLOntologySingletonSetProvider

public OWLOntologySingletonSetProvider(OWLOntology ontology)
Constructs an OWLOntologySingletonSetProvider 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 Detail

getOntologies

public java.util.Set<OWLOntology> getOntologies()
Specified by:
getOntologies in interface OWLOntologySetProvider