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 featurePathRegexAnnotatorConfigException
public 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 String getFeaturePath()
FeaturePath
getFeaturePath
in interface FeaturePath
Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.