Hi Jakob!

I don't think so. 4 years ago Eddie wrote:

The only way to do this now is to create a 2nd CAS, copy over the
parts wanted using the org.apache.uima.util.CasCopier and serialize
the new CAS.

See 
http://uima.markmail.org/message/htkrx4rpfagsx7tr?q=serializing+view#query:serializing%20view+page:1+mid:htkrx4rpfagsx7tr+state:results.
Or has it changed in the meantime?

Regards,
Armin

On 12/3/14, Jakob Sahlström <[email protected]> wrote:
> Hi,
>
> I'm dealing with a CAS with multiple views, namely a Gold View and a System
> View. I've been using XmiCasSerializer to save CASes but now I would like
> to save only the contents in the System View. The XmiCasSerializer seems to
> save the whole CAS with all views. Is there an easy way of just saving a
> single view to an xmi file?
>
> Best,
>
> Jakob
>

Reply via email to