uk.ac.bbk.dcs.automed.qproc.annotate
Interface QueryAnnotationProvider

All Known Implementing Classes:
AbstractQueryAnnotationProvider, FragmentProcessor, StandardQueryAnnotationProvider

public interface QueryAnnotationProvider

Defines a set of mandatory behaviours of a query annotator
Query annotator classes must implement this interface.

Author:
Lucas Zamboulis

Method Summary
 java.lang.String getName()
          Return a unique name of a provider.
 void process(ASG g, Schema[] tgts)
          Annotate an IQL query based on a given configuration
 

Method Detail

getName

java.lang.String getName()
Return a unique name of a provider. This name is used as a key in a Map of provider objects


process

void process(ASG g,
             Schema[] tgts)
             throws QueryAnnotationException
Annotate an IQL query based on a given configuration

Parameters:
g - an ASG object of an IQL query
tgts - the target scheams against which the query is to be evaluated
Throws:
QueryAnnotationException