1 19 35 36 import java.io.*; 37 import java.util.*; 38 import org.w3c.dom.*; 39 40 import org.netbeans.modules.schema2beans.*; 41 import emptyelement.*; 42 43 public class TestEmpty extends BaseTest { 44 public static void main(String [] argv) { 45 BaseTest o = new TestEmpty 46 (); 47 if (argv.length > 0) 48 o.setDocumentDir(argv[0]); 49 try { 50 o.run(); 51 } catch (Exception e) { 52 e.printStackTrace(); 53 System.exit(1); 54 } 55 System.exit(0); 56 } 57 58 public void run() throws Exception { 59 EmptyElement ee; 60 61 out("creating the bean graph"); 62 ee = new EmptyElement(); 63 64 out("bean graph created"); 66 67 out(ee); 68 69 return; 70 } 71 } 72 | Popular Tags |