owltools.gaf.rules
Class AnnotationRulesEngine
java.lang.Object
owltools.gaf.rules.AnnotationRulesEngine
public class AnnotationRulesEngine
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationRulesEngine
public AnnotationRulesEngine(AnnotationRulesFactory rulesFactory,
boolean createInferences,
boolean useExperimental)
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.