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 featurePathRegexAnnotatorConfigException
public java.lang.String getValue(org.apache.uima.cas.text.AnnotationFS annotFS) throws RegexAnnotatorProcessException
FeaturePath
getValue
in interface FeaturePath
annotFS
- annotation where the featurePath should be resolved on.RegexAnnotatorProcessException
public java.lang.String getFeaturePath()
FeaturePath
getFeaturePath
in interface FeaturePath
Copyright © 2013. All Rights Reserved.