uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "abhishek" <abhishe...@sqlstar.com>
Subject Java code to add Element to FSList
Date Wed, 28 Sep 2011 09:34:16 GMT
Hi,
I have created one Feature in Types. The feature rangeType is FSList&nbsp;and &nbsp;element
Type is another Annotator class(ParagraphAnnotation which extends org.apache.uima.jcas.tcas.Annotation&nbsp;).
&nbsp;
Now, I am not able to find out a way to set the value of this feature.
&nbsp;
Example:
&nbsp;
List&lt;MyClass&gt;sample= new Arraylist&lt;MyClass&gt;();
MyClass c = new MyClass();
sample.add(c);
&nbsp;
&nbsp;
&nbsp;
Is there a way to replicate similar situation mentioned above in UIMA FSList code.
&nbsp;
&nbsp;
Kindly help
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message