|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.uima.annotator.regex.impl.FeaturePath_impl
public class FeaturePath_impl
FeaturePath implementation that validates and the given featurePath and returns the featurePath value for a specified annotation.
| Constructor Summary | |
|---|---|
FeaturePath_impl(String featurePath)
Constructor to create a new featurePath object with a given featurePath string. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeaturePath_impl(String featurePath)
featurePath - featurePath string separated by "/"| Method Detail |
|---|
public void initialize(org.apache.uima.cas.Type type)
throws RegexAnnotatorConfigException
type - CAS type to used to initialize the featurePath
RegexAnnotatorConfigException
public String getValue(org.apache.uima.cas.text.AnnotationFS annotFS)
throws RegexAnnotatorProcessException
FeaturePath
getValue in interface FeaturePathannotFS - annotation where the featurePath should be resolved on.
RegexAnnotatorProcessExceptionpublic String getFeaturePath()
FeaturePath
getFeaturePath in interface FeaturePath
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||