edu.stanford.smi.protegex.owl.model.framestore
Class OWLFrameFactoryInvocationHandler
java.lang.Object
edu.stanford.smi.protege.model.framestore.AbstractFrameStoreInvocationHandler
edu.stanford.smi.protegex.owl.model.framestore.OWLFrameFactoryInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class OWLFrameFactoryInvocationHandler
- extends edu.stanford.smi.protege.model.framestore.AbstractFrameStoreInvocationHandler
A FrameStoreInvocationHandler that uses a DefaultOWLFrameFactory to replace all
references to a given frame with new ones. This is needed for the OWL database
backend to solve a bootstrapping recursion problem.
- Author:
- Holger Knublauch
Methods inherited from class edu.stanford.smi.protege.model.framestore.AbstractFrameStoreInvocationHandler |
getDelegate, getInstance, handleClose, handleReinitialize, invoke, invoke, invoke, isModification, isQuery, newInstance, newInstance, setDelegate, toString |
OWLFrameFactoryInvocationHandler
public OWLFrameFactoryInvocationHandler()
convert
public Object convert(Object o)
convertCollection
public Collection convertCollection(Collection values)
convertInstance
public edu.stanford.smi.protege.model.Instance convertInstance(edu.stanford.smi.protege.model.Instance instance)
handleInvoke
protected Object handleInvoke(Method method,
Object[] args)
- Specified by:
handleInvoke
in class edu.stanford.smi.protege.model.framestore.AbstractFrameStoreInvocationHandler
executeQuery
protected void executeQuery(edu.stanford.smi.protege.model.query.Query q,
edu.stanford.smi.protege.model.query.QueryCallback qc)
- Specified by:
executeQuery
in class edu.stanford.smi.protege.model.framestore.AbstractFrameStoreInvocationHandler
setFrameFactory
public static final void setFrameFactory(OWLJavaFactory ff)
- Sets the FrameFactory that shall be used for frame generation in the
most recently created OWLFrameFactoryInvocationHandler.
- Parameters:
ff
- the (subclass of) OWLJavaFactory
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.