a.set(1, (short)1);
a.set(2, (short)2);
f.setF1Shorts(a);
f.addToIndexes();
OfStrings ss = new OfStrings(jcas);
StringArray sa = new StringArray(jcas, 3);
sa.set(0, "0s");
sa.set(1, "1s");
sa.set(2, "2s");
ss.setF1Strings(sa);
ss.addToIndexes();
CasToInlineXml c2x = new CasToInlineXml();
String result = c2x.generateXML(srcCas);
System.out.println(result);
}