| Constructor and Description |
|---|
Concept_impl(java.lang.String name,
boolean processAllRules) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(Annotation aAnnotation)
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
|
void |
initialize(org.apache.uima.util.Logger logger)
initialize the concept and the referred rules and annotations.
|
boolean |
processAllConceptRules()
Checks the rule processing for this concept.
|
java.lang.String |
toString() |
void |
typeInit(org.apache.uima.cas.TypeSystem ts) |
public Concept_impl(java.lang.String name,
boolean processAllRules)
name - public void addAnnotation(Annotation aAnnotation)
ConceptaddAnnotation in interface ConceptaAnnotation - The annotation to be added.public Annotation[] getAnnotations()
ConceptgetAnnotations in interface Conceptpublic void addRule(Rule aRule)
Conceptpublic java.lang.String getName()
Conceptpublic Rule[] getRules()
Conceptpublic boolean processAllConceptRules()
ConceptprocessAllConceptRules in interface Conceptpublic void typeInit(org.apache.uima.cas.TypeSystem ts)
throws org.apache.uima.resource.ResourceInitializationException
ts - org.apache.uima.resource.ResourceInitializationExceptionpublic void initialize(org.apache.uima.util.Logger logger)
throws RegexAnnotatorConfigException
RegexAnnotatorConfigExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013. All Rights Reserved.