Protege 3.4.1

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

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

public class ClsStorer
extends ClipsFileWriter

Store a set of classes in Clips ontology file format Clips requires that clses be stored so that there are no forward references so we start at root and descend the class hierarchy writing out classes whose parents have already been written out.

Author:
Ray Fergerson

Constructor Summary
ClsStorer(Writer writer)
           
 
Method Summary
protected static boolean isStorable(Cls cls)
           
 void storeClses(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

ClsStorer

public ClsStorer(Writer writer)
Method Detail

isStorable

protected static boolean isStorable(Cls cls)

storeClses

public void storeClses(KnowledgeBase kb,
                       Collection errors)

Protege 3.4.1

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