public class FeaturePath_impl extends Object implements FeaturePath
| Constructor and Description |
|---|
FeaturePath_impl(String featurePath)
Constructor to create a new featurePath object with a given featurePath
string.
|
| 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(org.apache.uima.cas.Type type)
Initialize the object's featurePath for the given type.
|
public FeaturePath_impl(String featurePath)
featurePath - featurePath string separated by "/"public void initialize(org.apache.uima.cas.Type type)
throws RegexAnnotatorConfigException
type - CAS type to used to initialize the featurePathRegexAnnotatorConfigExceptionpublic String getValue(org.apache.uima.cas.text.AnnotationFS annotFS) throws RegexAnnotatorProcessException
FeaturePathgetValue in interface FeaturePathannotFS - annotation where the featurePath should be resolved on.RegexAnnotatorProcessExceptionpublic String getFeaturePath()
FeaturePathgetFeaturePath in interface FeaturePathCopyright © 2006–2025 The Apache Software Foundation. All rights reserved.