I need to get the element type of a feature from a TypeSystem object. I didn't find any method in the Feature interface. However, when I have a definition like that
<featureDescription> <name>foo</name> <rangeTypeName>uima.cas.FSArray</rangeType> <elementType>uima.cas.Boolean</elementType> </featureDescription> then, foo.getRange().getComponentType() gives uima.cas.Boolean, as I expected. But, if the range type is uima.cas.FSList I know no way to get the element type. I tried the code TypeSystemUtil.feature2FeatureDescription(base_foo).getElementType() but it returns null. Manuel Fiorelli
