1 27 28 package org.objectweb.ccm.visitorIDL3.xmi; 29 30 33 public class IDL3_XMI 34 extends org.objectweb.ccm.visitorIDL3.common.Generator { 35 36 39 private java.lang.String filename_; 40 41 44 private java.lang.String xmidtd_; 45 46 53 public 54 IDL3_XMI(org.objectweb.ccm.IDL3.Repository repository) 55 throws fr.lifl.cim.jidlscript.lang.JISError { 56 57 super(repository); 58 59 XMIPrinter printer = new XMIPrinter(this, " "); 61 62 setPrinter(printer); 64 } 65 66 69 70 75 public void 76 setDTD(java.lang.String xmidtd) { 77 xmidtd_ = xmidtd; 78 } 79 80 85 public void 86 setFilename(java.lang.String filename) { 87 filename_ = filename; 88 } 89 90 93 94 99 public java.lang.String 100 getDTD() { 101 return xmidtd_; 102 } 103 104 109 public java.lang.String 110 getFilename() { 111 return filename_; 112 } 113 114 122 public void 123 generate(java.lang.String name, 124 java.lang.String filename, 125 java.lang.String xmidtd) { 126 setDTD(xmidtd); 127 setFilename(filename); 128 super.visitObj(name); 129 } 130 } 131 | Popular Tags |