public class FeaturePathInfo_impl extends Object implements FeaturePathInfo
| Constructor and Description |
|---|
FeaturePathInfo_impl()
Constructor to create a new featurePath object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFeaturePath()
Returns the featurePath as String
|
String |
getValue(org.apache.uima.cas.text.AnnotationFS annotFS)
Returns the value of the given annotation FS for the stored featurePath.
|
void |
initialize(String featurePath)
Initialize the object's featurePath for the given type.
|
boolean |
match(org.apache.uima.cas.text.AnnotationFS annotFS,
Condition condition)
Returns true if the featurePath value for the given annotation match the
specified condition.
|
void |
typeSystemInit(org.apache.uima.cas.Type featurePathType)
checks the feature path for the given type and checks if it can be valid.
|
public FeaturePathInfo_impl()
public void initialize(String featurePath) throws DictionaryAnnotatorConfigException
featurePath - featurePath string separated by "/"DictionaryAnnotatorConfigExceptionpublic void typeSystemInit(org.apache.uima.cas.Type featurePathType)
throws DictionaryAnnotatorProcessException
public String getValue(org.apache.uima.cas.text.AnnotationFS annotFS)
FeaturePathInfogetValue in interface FeaturePathInfoannotFS - annotation where the featurePath should be resolved on.public String getFeaturePath()
FeaturePathInfogetFeaturePath in interface FeaturePathInfopublic boolean match(org.apache.uima.cas.text.AnnotationFS annotFS,
Condition condition)
FeaturePathInfomatch in interface FeaturePathInfoannotFS - current annotation to checkcondition - condition for the matchCopyright © 2006–2025 The Apache Software Foundation. All rights reserved.