owltools.gaf.rules
Class AnnotationRulesFactoryImpl

java.lang.Object
  extended by owltools.gaf.rules.AnnotationRulesFactoryImpl
All Implemented Interfaces:
AnnotationRulesFactory
Direct Known Subclasses:
GoAnnotationRulesFactoryImpl

public class AnnotationRulesFactoryImpl
extends Object
implements AnnotationRulesFactory

This class reads the annotation_qc.xml file and builds AnnotationRule objects from the qc file.

Author:
shahidmanzoor

Constructor Summary
protected AnnotationRulesFactoryImpl(String path)
           
 
Method Summary
protected  AnnotationRule getClassForName(String className)
           
 List<AnnotationRule> getRules()
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationRulesFactoryImpl

protected AnnotationRulesFactoryImpl(String path)
Parameters:
path - location of the annotation_qc.xml file
Method Detail

init

public void init()
Specified by:
init in interface AnnotationRulesFactory

getClassForName

protected AnnotationRule getClassForName(String className)
                                  throws Exception
Parameters:
className -
Returns:
annotation rule (never null)
Throws:
Exception

getRules

public List<AnnotationRule> getRules()
Specified by:
getRules in interface AnnotationRulesFactory


Copyright © 2010-2012. All Rights Reserved.