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]