Lines Matching defs:config
48 import com.sun.tools.internal.jxc.gen.config.Config;
49 import com.sun.tools.internal.jxc.gen.config.Schema;
61 * This reads the config files passed by the user to apt
63 * for a particular config from the set of classes passed
97 Config config = parseAndGetConfig(xmlFile,errorHandler);
98 checkAllClasses(config,classes);
101 schemaOutputResolver = createSchemaOutputResolver(config,xmlPath);
110 * list of classes that need to be included for a config file
118 private void checkAllClasses(Config config ,Collection<? extends TypeDeclaration> rootClasses){
120 List<Pattern> includeRegexList = config.getClasses().getIncludes();
121 List<Pattern> excludeRegexList = config.getClasses().getExcludes();
151 private SchemaOutputResolver createSchemaOutputResolver(Config config, String xmlpath) {
152 File baseDir = new File(xmlpath, config.getBaseDir().getPath());
155 for( Schema schema : (List<Schema>)config.getSchema() ) {
182 private static SchemaCache configSchema = new SchemaCache(Config.class.getResource("config.xsd"));
186 * Parses an xml config file and returns a Config object.
189 * The xml config file which is passed by the user to apt
213 Config config = new Config(runtime);
214 runtime.setRootHandler(config);
218 return config;