fangfangli / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

simpler XMI writing than XWriter #292

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The whole FileNamer thing in XWriter is more complexity than most users need. 
Instead, we should just provide a static method somewhere that, given an 
"outputFile" does:

   ContentHandler handler = new XMLSerializer(new FileOutputStream(outputFile)).getContentHandler();
   new XmiCasSerializer(jCas.getTypeSystem()).serialize(jCas.getCas(), handler);

This static method could conceivably be write on XWriter.

Original issue reported on code.google.com by steven.b...@gmail.com on 22 Feb 2012 at 4:01

GoogleCodeExporter commented 9 years ago
I realized that XWriter is actually in uimaFIT these days. I moved this issue 
to there:

http://code.google.com/p/uimafit/issues/detail?id=121

Original comment by steven.b...@gmail.com on 3 May 2012 at 10:14