1 19 package org.netbeans.lib.jmi.xmi; 20 21 import java.io.IOException ; 22 import java.io.OutputStream ; 23 import java.util.Collection ; 24 import javax.jmi.reflect.RefPackage; 25 import javax.jmi.xmi.XmiWriter; 26 27 public class XMIWriterImpl implements XmiWriter { 28 29 private DelegatingWriter writer = new DelegatingWriter (); 30 31 public void write(OutputStream stream, RefPackage extent, String xmiVersion) throws IOException { 32 writer.write (stream, extent, xmiVersion); 33 } 34 35 public void write(OutputStream stream, Collection objects, String xmiVersion) throws IOException { 36 writer.write (stream, objects, xmiVersion); 37 } 38 } 39 | Popular Tags |