private String defaultNamespace;
public SwitchingModuleBuilder(Collection builders) {
ReferenceCollection buildersCollection = (ReferenceCollection) builders;
buildersCollection.addReferenceCollectionListener(new ReferenceCollectionListener() {
public void memberAdded(ReferenceCollectionEvent event) {
ModuleBuilder builder = (ModuleBuilder) event.getMember();
String namespace = builder.getSchemaNamespace();
namespaceToBuilderMap.put(namespace, builder);
}