|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface Annotation
| Method Summary | |
|---|---|
void |
addFeature(Feature aFeat)
Adds the given feature to this annotation. |
org.apache.uima.cas.Type |
getAnnotationType()
Get the annotation type of this annotation. |
Position |
getBegin()
Get the annotation begin position of this annotation. |
Position |
getEnd()
Get the annotation end position of this annotation. |
Feature[] |
getFeatures()
Returns the feature array for this annotation |
String |
getId()
Get the annotation identifier. |
boolean |
hasValidator()
Returns true if for the current annotation an validator is available. |
boolean |
validate(String coveredText,
String ruleID)
Validate the covered Text of the annotation and checks if the annotation is valid or not. |
| Method Detail |
|---|
String getId()
org.apache.uima.cas.Type getAnnotationType()
Position getBegin()
Position getEnd()
void addFeature(Feature aFeat)
aFeat - The feature to be added.Feature[] getFeatures()
boolean validate(String coveredText,
String ruleID)
throws Exception
coveredText - covered text of the annotation that should be createdruleID - ruleID (if specified) of the rule that created the match
Exceptionboolean hasValidator()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||