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

Field Summary
private static java.util.Map providerTable
           
 
Constructor Summary
QueryAnnotationFactory()
           
 
Method Summary
static QueryAnnotationProvider getProviderInstance(java.lang.String providerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

providerTable

private static final java.util.Map providerTable
Constructor Detail

QueryAnnotationFactory

public QueryAnnotationFactory()
Method Detail

getProviderInstance

public static QueryAnnotationProvider getProviderInstance(java.lang.String providerName)
                                                   throws ProviderInitialisationException
Parameters:
providerName - the class name of the provider
Returns:
the provider instance
Throws:
ProviderInitialisationException