Re: PROPOSAL (round 3): Extensions to MDR XMI API

Holger Krug <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi Martin,

Instead of the 6 methods of XMIWriter:

   ContentHandler getContentHandler()
   void setContentHandler(..)
   void XMIWriter.write(..)

I suggest the following 4 methods would be enough and would result in
a cleaner API:

   abstract void write(ContentHandler handler, Collection objects, String uri);
   void write(OutputStream stream, Collection object, String uri);
   abstract void write(ContentHandler handler, RefPackage extent, String uri);
   void write(OutputStream stream, RefPackage extent, String uri);

-- 
Holger Krug
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.