edu.stanford.smi.protege.model
Interface KnowledgeBaseFactory
- All Known Subinterfaces:
- KnowledgeBaseFactory2
- All Known Implementing Classes:
- AbstractKnowledgeBaseFactory, ClipsKnowledgeBaseFactory, DatabaseKnowledgeBaseFactory, XMLKnowledgeBaseFactory
public interface KnowledgeBaseFactory
A factory for creating a KnowledgeBase implementation. The KB implementation is typically DefaultKnowledgeBase with,
perhaps, some "standard" frames loaded.
- Author:
- Ray Fergerson
FACTORY_CLASS_NAME
static final String FACTORY_CLASS_NAME
- See Also:
- Constant Field Values
createKnowledgeBase
KnowledgeBase createKnowledgeBase(Collection errors)
createKnowledgeBaseSourcesEditor
KnowledgeBaseSourcesEditor createKnowledgeBaseSourcesEditor(String projectURIString,
PropertyList sources)
- Note that this method should really take a URI for a param rather than a string. I maintain the string for
backwards compatibility
- Parameters:
projectURIString
- sources
-
getDescription
String getDescription()
getProjectFilePath
String getProjectFilePath()
includeKnowledgeBase
void includeKnowledgeBase(KnowledgeBase kb,
PropertyList sources,
Collection errors)
isComplete
boolean isComplete(PropertyList sources)
loadKnowledgeBase
void loadKnowledgeBase(KnowledgeBase kb,
PropertyList sources,
Collection errors)
saveKnowledgeBase
void saveKnowledgeBase(KnowledgeBase kb,
PropertyList sources,
Collection errors)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.