public interface OntologyFactory
Modifier and Type | Method and Description |
---|---|
Ontology |
createOntology(java.lang.String name,
java.lang.String description)
Creates a new Ontology
|
Ontology createOntology(java.lang.String name, java.lang.String description) throws OntologyException
name
- the name to give the ontologydescription
- the description for the ontologyjava.lang.NullPointerException
- if either name or description are nullOntologyException
- if the ontology could not be created