public class RuleException_impl extends Object implements RuleException
Constructor and Description |
---|
RuleException_impl(String matchType,
String patternStr) |
Modifier and Type | Method and Description |
---|---|
org.apache.uima.cas.Type |
getType()
Get the Type of this exception
|
void |
initialize() |
boolean |
matchPattern(org.apache.uima.cas.text.AnnotationFS annot)
match the rule exception pattern against the covered text of the given annotation
|
String |
toString() |
void |
typeInit(org.apache.uima.cas.TypeSystem ts) |
public boolean matchPattern(org.apache.uima.cas.text.AnnotationFS annot)
RuleException
matchPattern
in interface RuleException
annot
- - current annotation that should be used to matchpublic org.apache.uima.cas.Type getType()
RuleException
getType
in interface RuleException
public void typeInit(org.apache.uima.cas.TypeSystem ts) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public void initialize()
Copyright © 2016. All rights reserved.