generatorLibraries.put(aQualifier, aLibrary);
}
- public Generator makeGenerator(String anIdentifier) throws GeneratorExc, GeneratorFailure {
+ public Generator makeGenerator(String anIdentifier, Generator.Interceptor anInterceptor) throws GeneratorExc, GeneratorFailure {
String qualifier;
String libraryName;
int position;
if (library==null)
throw new GeneratorExc("CompositeGeneratorLibrary: library '"+libraryName+"' not found");
- return library.makeGenerator(qualifier);
+ return library.makeGenerator(qualifier, anInterceptor);
}
if (defaultLibrary!=null)
- return defaultLibrary.makeGenerator(anIdentifier);
+ return defaultLibrary.makeGenerator(anIdentifier, anInterceptor);
throw new GeneratorExc("CompositeGeneratorLibrary: no default library speficied");
}
}
\ No newline at end of file