org.apache.uima.annotator.dict_annot.dictionary.impl
Interface FeaturePathInfo

All Known Implementing Classes:
FeaturePathInfo_impl

public interface FeaturePathInfo

FeaturePath interface defines the access to the value for a feature path


Method Summary
 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.
 boolean match(org.apache.uima.cas.text.AnnotationFS annotFS, Condition condition)
          Returns true if the featurePath value for the given annotation match the specified condition.
 

Method Detail

getValue

java.lang.String getValue(org.apache.uima.cas.text.AnnotationFS annotFs)
Returns the value of the given annotation FS for the stored featurePath.

Parameters:
annotFs - annotation where the featurePath should be resolved on.
Returns:
featurePath value as String

getFeaturePath

java.lang.String getFeaturePath()
Returns the featurePath as String

Returns:
featurePath string value

match

boolean match(org.apache.uima.cas.text.AnnotationFS annotFS,
              Condition condition)
Returns true if the featurePath value for the given annotation match the specified condition. It returns false if no featurePath was specified!

Parameters:
annotFS - current annotation to check
condition - condition for the match
Returns:
returns true if the conditions match the featurePath value


Copyright © 2011. All Rights Reserved.