edu.stanford.smi.protegex.storage.rdf
Class RDFBackend
java.lang.Object
|
+--edu.stanford.smi.protegex.storage.rdf.RDFBackend
- All Implemented Interfaces:
- edu.stanford.smi.protege.model.KnowledgeBaseFactory
- Direct Known Subclasses:
- RDFCBackend, RDFRTBackend
- public class RDFBackend
- extends Object
- implements edu.stanford.smi.protege.model.KnowledgeBaseFactory
Fields inherited from interface edu.stanford.smi.protege.model.KnowledgeBaseFactory |
FACTORY_CLASS_NAME |
Method Summary |
edu.stanford.smi.protege.model.KnowledgeBase |
createKnowledgeBase(Collection errors)
|
edu.stanford.smi.protege.model.KnowledgeBaseSourcesEditor |
createKnowledgeBaseSourcesEditor(String projectName,
edu.stanford.smi.protege.util.PropertyList sources)
|
void |
createSystemFrames(RDFKnowledgeBase kb)
|
String |
getDescription()
|
int |
getInterestingNamespacesSize()
|
String |
getProjectFilePath()
|
void |
includeKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Collection errors)
|
boolean |
isComplete(edu.stanford.smi.protege.util.PropertyList sources)
|
void |
loadKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Collection errors)
|
void |
loadKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
org.xml.sax.InputSource classes,
org.xml.sax.InputSource instances,
Collection errors)
|
void |
loadWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
org.xml.sax.InputSource classes,
org.xml.sax.InputSource instances,
String namespace,
Namespaces namespaces,
Collection errors)
|
void |
loadWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
String classesFileName,
String instancesFileName,
String namespace,
Namespaces namespaces,
Collection errors,
boolean included)
|
static void |
main(String[] args)
|
void |
saveKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Collection errors)
|
void |
saveKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Writer rdfsModel,
Writer rdfModel,
Collection errors)
|
void |
saveWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
String classesFileName,
String instancesFileName,
Namespaces namespaces,
Collection errors)
|
void |
saveWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Writer rdfsModel,
Writer rdfModel,
Namespaces namespaces,
Collection errors)
|
static void |
setSourceFiles(edu.stanford.smi.protege.util.PropertyList sources,
String classesFileName,
String instancesFileName,
String namespace)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDFBackend
public RDFBackend()
getDescription
public String getDescription()
- Specified by:
getDescription
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
getProjectFilePath
public String getProjectFilePath()
- Specified by:
getProjectFilePath
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
createKnowledgeBaseSourcesEditor
public edu.stanford.smi.protege.model.KnowledgeBaseSourcesEditor createKnowledgeBaseSourcesEditor(String projectName,
edu.stanford.smi.protege.util.PropertyList sources)
- Specified by:
createKnowledgeBaseSourcesEditor
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
isComplete
public boolean isComplete(edu.stanford.smi.protege.util.PropertyList sources)
- Specified by:
isComplete
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
createKnowledgeBase
public edu.stanford.smi.protege.model.KnowledgeBase createKnowledgeBase(Collection errors)
- Specified by:
createKnowledgeBase
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
loadKnowledgeBase
public void loadKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Collection errors)
- Specified by:
loadKnowledgeBase
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
loadKnowledgeBase
public void loadKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
org.xml.sax.InputSource classes,
org.xml.sax.InputSource instances,
Collection errors)
includeKnowledgeBase
public void includeKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Collection errors)
- Specified by:
includeKnowledgeBase
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
saveKnowledgeBase
public void saveKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Collection errors)
- Specified by:
saveKnowledgeBase
in interface edu.stanford.smi.protege.model.KnowledgeBaseFactory
saveKnowledgeBase
public void saveKnowledgeBase(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Writer rdfsModel,
Writer rdfModel,
Collection errors)
setSourceFiles
public static void setSourceFiles(edu.stanford.smi.protege.util.PropertyList sources,
String classesFileName,
String instancesFileName,
String namespace)
main
public static void main(String[] args)
getInterestingNamespacesSize
public int getInterestingNamespacesSize()
loadWalk
public void loadWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
String classesFileName,
String instancesFileName,
String namespace,
Namespaces namespaces,
Collection errors,
boolean included)
loadWalk
public void loadWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
org.xml.sax.InputSource classes,
org.xml.sax.InputSource instances,
String namespace,
Namespaces namespaces,
Collection errors)
saveWalk
public void saveWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
String classesFileName,
String instancesFileName,
Namespaces namespaces,
Collection errors)
saveWalk
public void saveWalk(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.util.PropertyList sources,
Writer rdfsModel,
Writer rdfModel,
Namespaces namespaces,
Collection errors)
createSystemFrames
public void createSystemFrames(RDFKnowledgeBase kb)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.