1 17 package org.apache.ws.jaxme.generator; 18 19 import java.io.File ; 20 import java.net.URL ; 21 22 import org.apache.ws.jaxme.generator.sg.SchemaSG; 23 import org.xml.sax.EntityResolver ; 24 import org.xml.sax.InputSource ; 25 26 71 public interface Generator extends PropertySource { 72 74 public void setSchemaReader(SchemaReader pSchemaReader); 75 76 78 public SchemaReader getSchemaReader(); 79 80 82 public void setTargetDirectory(File pDirectory); 83 84 86 public File getTargetDirectory(); 87 88 91 public void setValidating(boolean pValidating); 92 93 96 public boolean isValidating(); 97 98 100 public boolean isForcingOverwrite(); 101 102 104 public void setForcingOverwrite(boolean pIsForcingOverwrite); 105 106 108 public boolean isSettingReadOnly(); 109 110 112 public void setSettingReadOnly(boolean pIsSettingReadOnly); 113 114 121 public SchemaSG generate(File pFile) throws Exception ; 122 123 130 public SchemaSG generate(URL pURL) throws Exception ; 131 132 139 public SchemaSG generate(InputSource pSource) throws Exception ; 140 141 143 public String getKey(); 144 145 148 public void setEntityResolver(EntityResolver pEntityResolver); 149 150 153 public EntityResolver getEntityResolver(); 154 } 155 | Popular Tags |