org.apache.uima.cas.impl
Class FeatureValuePathImpl

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureValuePathImpl
All Implemented Interfaces:
FeatureValuePath

public class FeatureValuePathImpl
extends java.lang.Object
implements FeatureValuePath

Contains CAS Type and Feature objects to represent a feature path of the form feature1/.../featureN. Each part that is enclosed within / is referred to as "path snippet" below. Also contains the necessary evaluation logic to yield the value of the feature path. For leaf snippets, the following "special features" are defined:

Handling of Arrays
For array-valued features, the following access operators are defined: If the feature path is defined directly for an FSArray, an actual feature name can be omitted, and only the array access operator can be used. Examples:
                        
                         
                          
                           
                            
                             
                              
                               
                                
                                 
                                                                            []/somepackage.Person:coveredText()
                                                                             [last]/somepackage.Person:fsId()
                                  
                                 
                                
                               
                              
                             
                            
                           
                          
                         
 

Usage