|
||||||||||
| 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 |
java.lang.String |
getId()
Get the annotation identifier. |
boolean |
hasValidator()
Returns true if for the current annotation an validator is available. |
boolean |
validate(java.lang.String coveredText,
java.lang.String ruleID)
Validate the covered Text of the annotation and checks if the annotation is valid or not. |
| Method Detail |
|---|
java.lang.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(java.lang.String coveredText,
java.lang.String ruleID)
throws java.lang.Exception
coveredText - covered text of the annotation that should be createdruleID - ruleID (if specified) of the rule that created the match
java.lang.Exceptionboolean hasValidator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||