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)
Concept
addAnnotation
in interface Concept
aAnnotation
- The annotation to be added.public Annotation[] getAnnotations()
Concept
getAnnotations
in interface Concept
public void addRule(Rule aRule)
Concept
public java.lang.String getName()
Concept
public Rule[] getRules()
Concept
public boolean processAllConceptRules()
Concept
processAllConceptRules
in interface Concept
public void typeInit(org.apache.uima.cas.TypeSystem ts) throws org.apache.uima.resource.ResourceInitializationException
ts
- org.apache.uima.resource.ResourceInitializationException
public void initialize(org.apache.uima.util.Logger logger) throws RegexAnnotatorConfigException
RegexAnnotatorConfigException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013. All Rights Reserved.