1 22 23 package org.enhydra.kelp.common.bridge; 24 25 import org.enhydra.kelp.common.node.OtterXMLCNode; 27 28 import org.enhydra.xml.xmlc.XMLCException; 30 31 import java.io.File ; 33 import java.io.IOException ; 34 import java.io.PrintWriter ; 35 36 37 public interface MetaDataHandler { 38 39 public void parse(String [] files, String [] args, PrintWriter writer, 40 OtterXMLCNode node) 41 throws XMLCException, IOException ; 42 43 public Object getMetaData(); 44 45 public Object [] getURLMappings(); 46 public Object [] getDeleteElements(); 47 48 public String getClassName(); 49 public void setClassName(String n); 50 51 public String getPackageName(); 52 53 public File getJavaClassSource(); 54 public void setJavaClassSource(File f, OtterXMLCNode node); 55 56 public File getJavaInterfaceSource(); 57 public void setJavaInterfaceSource(File f, OtterXMLCNode node); 58 59 public String getInputDocument(); 60 public void setInputDocument(String s); 61 62 public String getDocumentOutput(); 63 public void setDocumentOutput(String s); 64 65 public boolean getCompileSource(); 66 public void setCompileSource(boolean b); 67 68 public boolean getKeepGeneratedSource(); 69 public void setKeepGeneratedSource(boolean keep); 70 71 public boolean getPrintAccessorInfo(); 72 public void setPrintAccessorInfo(boolean b); 73 74 public boolean getPrintDocumentInfo(); 75 public void setPrintDocumentInfo(boolean b); 76 77 public boolean getPrintDOM(); 78 public void setPrintDOM(boolean b); 79 80 public boolean getPrintParseInfo(); 81 public void setPrintParseInfo(boolean b); 82 83 public boolean getVerbose(); 84 public void setVerbose(boolean b); 85 86 public boolean getRecompilation(); 87 public void setRecompilation(boolean b); 88 89 public boolean getPrintVersion(); 90 public void setPrintVersion(boolean b); 91 92 public void save(File f) throws IOException ; 93 94 } 95 | Popular Tags |