uk.ac.bbk.dcs.automed.qproc.annotate
Class QueryAnnotationFactory

java.lang.Object
  extended by uk.ac.bbk.dcs.automed.qproc.annotate.QueryAnnotationFactory

public class QueryAnnotationFactory
extends java.lang.Object

Responsible for instantiating appropriate QueryAnnotationProvider classes.

Author:
Lucas Zamboulis

Constructor Summary
QueryAnnotationFactory()
           
 
Method Summary
static QueryAnnotationProvider getProviderInstance(java.lang.String providerName, Schema[] tgts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryAnnotationFactory

public QueryAnnotationFactory()
Method Detail

getProviderInstance

public static QueryAnnotationProvider getProviderInstance(java.lang.String providerName,
                                                          Schema[] tgts)
                                                   throws ProviderInitialisationException
Parameters:
providerName - the class name of the provider
tgts - the target schemata
Returns:
the provider instance
Throws:
ProviderInitialisationException