owltools.gaf.rules
Class AnnotationRulesEngine

java.lang.Object
  extended by owltools.gaf.rules.AnnotationRulesEngine

public class AnnotationRulesEngine
extends Object


Nested Class Summary
static class AnnotationRulesEngine.AnnotationRuleCheckException
          This exception is thrown when an exception occurs during the execution of annotation rules.
static class AnnotationRulesEngine.AnnotationRulesEngineResult
          Results for a run of the AnnotationRulesEngine.
 
Constructor Summary
AnnotationRulesEngine(AnnotationRulesFactory rulesFactory, boolean createInferences, boolean useExperimental)
           
 
Method Summary
 AnnotationRule getRule(String id)
          Retrieve the corresponding rule for a given rule id.
 AnnotationRulesEngine.AnnotationRulesEngineResult validateAnnotations(GafDocument doc)
          Validate the given GafDocument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationRulesEngine

public AnnotationRulesEngine(AnnotationRulesFactory rulesFactory,
                             boolean createInferences,
                             boolean useExperimental)
Method Detail

getRule

public AnnotationRule getRule(String id)
Retrieve the corresponding rule for a given rule id.

Parameters:
id -
Returns:
rule or null

validateAnnotations

public AnnotationRulesEngine.AnnotationRulesEngineResult validateAnnotations(GafDocument doc)
                                                                      throws AnnotationRulesEngine.AnnotationRuleCheckException
Validate the given GafDocument.

Parameters:
doc -
Returns:
result
Throws:
AnnotationRulesEngine.AnnotationRuleCheckException


Copyright © 2010-2014. All Rights Reserved.