Protege 2.1.1

edu.stanford.smi.protege.model.framestore
Class DefaultFrameFactory

java.lang.Object
  extended byedu.stanford.smi.protege.model.framestore.DefaultFrameFactory
All Implemented Interfaces:
FrameFactory

public class DefaultFrameFactory
extends Object
implements FrameFactory


Constructor Summary
DefaultFrameFactory(KnowledgeBase kb)
           
 
Method Summary
 void addJavaPackage(String packageName)
           
protected  void configureCls(Cls cls)
           
protected  void configureFacet(Facet facet)
           
protected  void configureSimpleInstance(SimpleInstance simpleInstance)
           
protected  void configureSlot(Slot slot)
           
 Cls createCls(FrameID id, Collection directTypes)
           
 Facet createFacet(FrameID id, Collection directTypes)
           
 SimpleInstance createSimpleInstance(FrameID id, Collection directTypes)
           
 Slot createSlot(FrameID id, Collection directTypes)
           
protected  String getJavaClassName(Cls type)
           
 KnowledgeBase getKnowledgeBase()
           
 boolean isCorrectJavaImplementationClass(FrameID id, Collection types, Class clas)
           
protected  boolean isValidCharacter(char c, int i)
           
 void removeJavaPackage(String packageName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFrameFactory

public DefaultFrameFactory(KnowledgeBase kb)
Method Detail

getKnowledgeBase

public KnowledgeBase getKnowledgeBase()

addJavaPackage

public void addJavaPackage(String packageName)
Specified by:
addJavaPackage in interface FrameFactory

removeJavaPackage

public void removeJavaPackage(String packageName)
Specified by:
removeJavaPackage in interface FrameFactory

createCls

public Cls createCls(FrameID id,
                     Collection directTypes)
Specified by:
createCls in interface FrameFactory

createSlot

public Slot createSlot(FrameID id,
                       Collection directTypes)
Specified by:
createSlot in interface FrameFactory

createFacet

public Facet createFacet(FrameID id,
                         Collection directTypes)
Specified by:
createFacet in interface FrameFactory

createSimpleInstance

public SimpleInstance createSimpleInstance(FrameID id,
                                           Collection directTypes)
Specified by:
createSimpleInstance in interface FrameFactory

configureFacet

protected void configureFacet(Facet facet)

configureSimpleInstance

protected void configureSimpleInstance(SimpleInstance simpleInstance)

configureCls

protected void configureCls(Cls cls)

configureSlot

protected void configureSlot(Slot slot)

isCorrectJavaImplementationClass

public boolean isCorrectJavaImplementationClass(FrameID id,
                                                Collection types,
                                                Class clas)
Specified by:
isCorrectJavaImplementationClass in interface FrameFactory

getJavaClassName

protected String getJavaClassName(Cls type)

isValidCharacter

protected boolean isValidCharacter(char c,
                                   int i)

Protege 2.1.1

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