edu.stanford.smi.protege.model
Interface KnowledgeBaseFactory
- All Known Subinterfaces:
- KnowledgeBaseFactory2
- All Known Implementing Classes:
- AbstractKnowledgeBaseFactory, DatabaseKnowledgeBaseFactory, DatabaseKnowledgeBaseFactory, JdbcKnowledgeBaseFactory
- 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
public static final String FACTORY_CLASS_NAME
- See Also:
- Constant Field Values
createKnowledgeBase
public KnowledgeBase createKnowledgeBase(Collection errors)
createKnowledgeBaseSourcesEditor
public 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
public String getDescription()
getProjectFilePath
public String getProjectFilePath()
includeKnowledgeBase
public void includeKnowledgeBase(KnowledgeBase kb,
PropertyList sources,
Collection errors)
isComplete
public boolean isComplete(PropertyList sources)
loadKnowledgeBase
public void loadKnowledgeBase(KnowledgeBase kb,
PropertyList sources,
Collection errors)
saveKnowledgeBase
public 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-2004 Stanford University.