public interface OntologySpaceFactory extends ScopeEventListenable, NamedArtifact
| Modifier and Type | Method and Description |
|---|---|
OntologySpace |
createCoreOntologySpace(String scopeId,
OntologyInputSource<?>... coreOntologies)
Creates and sets up a default core ontology space.
|
OntologySpace |
createCustomOntologySpace(String scopeId,
OntologyInputSource<?>... customOntologies)
Creates and sets up a default custom ontology space.
|
OntologySpace |
createOntologySpace(String scopeId,
OntologySpace.SpaceType type,
OntologyInputSource<?>... ontologySources)
Creates an ontology space of the specified type.
|
addScopeEventListener, clearScopeEventListeners, getScopeEventListeners, removeScopeEventListenergetDefaultNamespace, getID, getNamespace, setDefaultNamespace, setNamespaceOntologySpace createCoreOntologySpace(String scopeId, OntologyInputSource<?>... coreOntologies)
createOntologySpace(IRI, SpaceTypes.CORE, OntologyInputSource...).scopeId - the unique identifier of the ontology scope that will reference this space. It can be used
for generating the identifier for this ontology space.coreSources - the sources of the optional ontologies to be immediately loaded upon space creation.OntologySpace createCustomOntologySpace(String scopeId, OntologyInputSource<?>... customOntologies)
createOntologySpace(IRI, SpaceTypes.CUSTOM, OntologyInputSource...).scopeId - the unique identifier of the ontology scope that will reference this space. It can be used
for generating the identifier for this ontology space.customSources - the sources of the optional ontologies to be immediately loaded upon space creation.OntologySpace createOntologySpace(String scopeId, OntologySpace.SpaceType type, OntologyInputSource<?>... ontologySources)
scopeId - the unique identifier of the ontology scope that will reference this space. It can be used
for generating the identifier for this ontology space.type - the space type.ontologySources - the sources of the optional ontologies to be immediately loaded upon space creation.Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.