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

Richard Eckart de Castilho commented on UIMA-2874:
--------------------------------------------------

Instead of Serialization.<name-of-serializer>(aCas, 
maybe-some-other-parameters), I'd be more in favor of

{code}
<Name-of-serializer> ser = new <Name-of-serializer>();
ser.set<NameOfParameter>(...);
ser.write(CAS, OutputStream);
{code}

or something along the lines. Possibly even wrapping up all other existing 
serialization mechanisms (binary, XCAS, XMI, compressed binary, ...) in the 
same way under a common interface.

                
> binary compression APIs in CAS
> ------------------------------
>
>                 Key: UIMA-2874
>                 URL: https://issues.apache.org/jira/browse/UIMA-2874
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.4.1SDK
>
>
> Rationalize the CASImpl binary compression APIs; add to the CAS Apis.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to