public interface Validation
Modifier and Type | Method and Description |
---|---|
boolean |
validate(java.lang.String coveredText,
java.lang.String ruleID)
The validate method validates the covered text of an annotator and returns true or
false whether the annotation is correct or not.
|
boolean validate(java.lang.String coveredText, java.lang.String ruleID) throws java.lang.Exception
coveredText
- covered text of the annotation that should be validatedruleID
- ruleID of the rule which created the matchjava.lang.Exception
- throws an exception if an validation error occurredCopyright © 2013. All Rights Reserved.