org.apache.uima.annotator.regex
Interface RuleException
- All Known Implementing Classes:
- RuleException_impl
public interface RuleException
Method Summary |
org.apache.uima.cas.Type |
getType()
Get the Type of this exception |
boolean |
matchPattern(org.apache.uima.cas.text.AnnotationFS annot)
match the rule exception pattern against the covered text of the given annotation |
matchPattern
boolean matchPattern(org.apache.uima.cas.text.AnnotationFS annot)
- match the rule exception pattern against the covered text of the given annotation
- Parameters:
annot
- - current annotation that should be used to match
- Returns:
- returns true if a match was found
getType
org.apache.uima.cas.Type getType()
- Get the Type of this exception
- Returns:
- returns the UIMA type object.
Copyright © 2011. All Rights Reserved.