1 19 package org.enhydra.zeus.util; 20 21 import java.io.File ; 22 import java.io.InputStream ; 23 import java.io.IOException ; 24 import java.io.Reader ; 25 26 import org.enhydra.zeus.ZeusException; 28 29 39 public interface SourceGenerator { 40 41 51 public void setConstraintsInput(String fileURI) throws IOException ; 52 53 63 public void setConstraintsInput(File file) throws IOException ; 64 65 74 public void setConstraintsInput(Reader reader); 75 76 86 public void setConstraintsInput(InputStream inputStream); 87 88 97 public void setOutputDir(String outputDir) throws IOException ; 98 99 108 public void setOutputDir(File outputDir) throws IOException ; 109 110 117 public void setJavaPackage(String javaPackage); 118 119 129 public void setCollapseSimpleElements(boolean collapseSimpleElements); 130 131 143 public void setCollapseSimpleElements(boolean collapseSimpleElements, 144 boolean ignoreIDAttributes); 145 146 154 public void generate() throws IOException , ZeusException; 155 } 156 | Popular Tags |