public class AnnotationRegularExpressionFromXMLRule extends AbstractAnnotationRule
Constructor and Description |
---|
AnnotationRegularExpressionFromXMLRule() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage() |
Pattern |
getPattern() |
String |
getRegex() |
Set<AnnotationRuleViolation> |
getRuleViolations(GeneAnnotation a)
Given an annotation, find the set of violations using the rule
|
void |
setErrorMessage(String errorMessage) |
void |
setPattern(Pattern pattern) |
void |
setRegex(String regex) |
getDate, getDescription, getGrandFatheringDate, getName, getPredictedAnnotations, getRuleId, getRuleViolations, getRuleViolations, getStatus, hasGrandFathering, isAnnotationLevel, isDocumentLevel, isInferringAnnotations, isOwlDocumentLevel, setDate, setDescription, setGrandFatheringDate, setName, setRuleId, setStatus
public AnnotationRegularExpressionFromXMLRule()
public Set<AnnotationRuleViolation> getRuleViolations(GeneAnnotation a)
AnnotationRule
getRuleViolations
in interface AnnotationRule
getRuleViolations
in class AbstractAnnotationRule
a
- annotationAnnotationRule.isAnnotationLevel()
public String getRegex()
public Pattern getPattern()
public String getErrorMessage()
public void setRegex(String regex)
public void setPattern(Pattern pattern)
public void setErrorMessage(String errorMessage)
Copyright © 2010-2014. All Rights Reserved.