public interface ScopeFactory extends ScopeEventListenable
| Modifier and Type | Method and Description |
|---|---|
Scope |
createOntologyScope(String scopeID,
OntologyInputSource<?>... coreOntologies)
Creates and returns a new ontology scope with the core space ontologies obtained from
coreSource and the custom space not set. |
addScopeEventListener, clearScopeEventListeners, getScopeEventListeners, removeScopeEventListenerScope createOntologyScope(String scopeID, OntologyInputSource<?>... coreOntologies) throws DuplicateIDException
coreSource and the custom space not set.scopeID - the desired unique identifier for the ontology scope.coreSource - the input source that provides the top ontology for the core space.DuplicateIDException - if an ontology scope with the given identifier is already registered. The exception
is not thrown if another scope with the same ID has been created but not registered.Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.