uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1208) How to get the element type of a uima.cas.FSList feature
Date Tue, 21 Oct 2008 15:13:44 GMT

    [ https://issues.apache.org/jira/browse/UIMA-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641403#action_12641403

Marshall Schor commented on UIMA-1208:

See also http://markmail.org/message/67tmmk4elb26k456

> How to get the element type of a uima.cas.FSList feature
> --------------------------------------------------------
>                 Key: UIMA-1208
>                 URL: https://issues.apache.org/jira/browse/UIMA-1208
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2.2
>         Environment: Fedora 9
>            Reporter: Manuel Fiorelli
>            Priority: Minor
> The documentation 
> http://incubator.apache.org/uima/downloads/releaseDocs/2.2.2-incubating/docs/html/references/references.html#ugr.ref.xml.component_descriptor.type_system.features
> states that in the type system descriptor one may use <elementType> to constraint
the type of elements in both array and list features.
> However, if one gets the type system of a CAS [myCas.getTypeSystem()],
> 1) if the feature range is an array, he can retrieve the element type through the method
> 2) if the feature range is a list, there seems not to be any way to get the element type,
since the method Type.getComponentType() returns null

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message