Hi All,

 

I am in the process of serializing type systems as discussed in one of
the previous emails.

I am doing the following:

 

TypeSystem ts = createCAS(tsDesc).getTypeSystem();

ByteArrayOutputStream baos = new ByteArrayOutputStream();

TypeSystemDescription tsd =
TypeSystemUtil.typeSystem2TypeSystemDescription(ts);

tsd.toXML(baos);

 

 

The problem is that I have another Type System that needs to be merged
with this one before I persist it. 

I could use the TypeSystemDescription.addType method to add the types
individually, but is there an easier way to merge two type system
descriptions? 

 

Thanks

_______________

Girish Chavan, MSIS

Department of Biomedical Informatics (DBMI)
University of Pittsburgh
UPMC Cancer Pavilion, 302D
5150 Centre Avenue
Pittsburgh, PA  15232

Office: 412-623-4084

Email: [email protected]

 

Reply via email to