Package org.biojava.nbio.ontology
Interface OntologyFactory
public interface OntologyFactory
A factory for Ontology instances.
- Author:
- Matthew Pocock
-
Method Summary
Modifier and TypeMethodDescriptioncreateOntology
(String name, String description) Creates a new Ontology
-
Method Details
-
createOntology
Creates a new Ontology- Parameters:
name
- the name to give the ontologydescription
- the description for the ontology- Returns:
- an Ontology
- Throws:
NullPointerException
- if either name or description are nullOntologyException
- if the ontology could not be created
-