org.apache.uima.annotator.regex
Interface Concept

All Known Implementing Classes:
Concept_impl

public interface Concept


Method Summary
 void addAnnotation(Annotation aAnnot)
          Adds the given annotation to this concept.
 void addRule(Rule aRule)
          Adds the given rule to this concept
 Annotation[] getAnnotations()
          Gets an array of annotations for this rule.
 java.lang.String getName()
          Get the concept name.
 Rule[] getRules()
          Gets an array of rules for this concept
 boolean processAllConceptRules()
          Checks the rule processing for this concept.
 

Method Detail

getName

java.lang.String getName()
Get the concept name.

Returns:
returns the concept name.

getAnnotations

Annotation[] getAnnotations()
Gets an array of annotations for this rule.

Returns:
returns an array of annotations for this concept.

addAnnotation

void addAnnotation(Annotation aAnnot)
Adds the given annotation to this concept.

Parameters:
aAnnot - The annotation to be added.

getRules

Rule[] getRules()
Gets an array of rules for this concept

Returns:
returns an array of rules for this concept.

addRule

void addRule(Rule aRule)
Adds the given rule to this concept

Parameters:
aRule - The rule to be added.

processAllConceptRules

boolean processAllConceptRules()
Checks the rule processing for this concept.

Returns:
Returns true if all rules for this concept should be process. Returns false if the rule processing should be stopped after the first match was found.


Copyright © 2011. All Rights Reserved.