owltools.gaf.rules
Class AnnotationRulesFactoryImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationRulesFactoryImpl
protected AnnotationRulesFactoryImpl(String path)
- Parameters:
path
- location of the annotation_qc.xml file
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.