Protege 3.4.3

edu.stanford.smi.protege.storage.clips
Class InstanceStorer

java.lang.Object
  extended by edu.stanford.smi.protege.storage.clips.ClipsFileWriter
      extended by edu.stanford.smi.protege.storage.clips.InstanceStorer

public class InstanceStorer
extends ClipsFileWriter

The class knows how to write out knowledge base instances in clips file format. Note that classes which contain own slots other than the standard ones are also written out in this file. The instance name is that same as the class name, and these are paired up when the files are parsed.

Author:
Ray Fergerson

Constructor Summary
InstanceStorer(Writer writer)
           
 
Method Summary
protected  boolean isStorableInstance(Instance instance)
           
protected  boolean isStorableSlot(Instance instance, Slot slot)
           
 void storeInstances(KnowledgeBase kb, Collection errors)
           
 
Methods inherited from class edu.stanford.smi.protege.storage.clips.ClipsFileWriter
equals, flush, print, print, printFrame, printFrameName, println, println, printSucceeded, toExternalFrameName, toExternalFrameName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceStorer

public InstanceStorer(Writer writer)
Method Detail

isStorableInstance

protected boolean isStorableInstance(Instance instance)

isStorableSlot

protected boolean isStorableSlot(Instance instance,
                                 Slot slot)

storeInstances

public void storeInstances(KnowledgeBase kb,
                           Collection errors)

Protege 3.4.3

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.