1 19 package org.netbeans.api.xmi; 20 21 import java.util.Collection ; 22 import java.io.OutputStream ; 23 import java.io.IOException ; 24 import javax.jmi.reflect.RefPackage; 25 import javax.jmi.xmi.XmiWriter; 26 27 32 public abstract class XMIWriter implements XmiWriter { 33 37 40 public abstract XMIOutputConfig getConfiguration(); 41 42 55 public abstract void write(OutputStream stream, String uri, Collection objects, String xmiVersion) throws IOException ; 56 57 69 public abstract void write(OutputStream stream, String uri, RefPackage extent, String xmiVersion) throws IOException ; 70 71 72 76 82 public void write(OutputStream stream, RefPackage extent, String xmiVersion) throws IOException { 83 write(stream, null, extent, xmiVersion); 84 } 85 86 93 public void write(OutputStream stream, Collection objects, String xmiVersion) throws IOException { 94 write(stream, null, objects, xmiVersion); 95 } 96 } 97 | Popular Tags |