public class FeaturePath_impl extends java.lang.Object implements FeaturePath
| Constructor and Description |
|---|
FeaturePath_impl(java.lang.String featurePath)
Constructor to create a new featurePath object with a given featurePath
string.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFeaturePath()
Returns the featurePath as String
|
java.lang.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(java.lang.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 java.lang.String getValue(org.apache.uima.cas.text.AnnotationFS annotFS)
throws RegexAnnotatorProcessException
FeaturePathgetValue in interface FeaturePathannotFS - annotation where the featurePath should be resolved on.RegexAnnotatorProcessExceptionpublic java.lang.String getFeaturePath()
FeaturePathgetFeaturePath in interface FeaturePathCopyright © 2013. All Rights Reserved.