addBuilder((T) event.getMember());
}
public void memberRemoved(ReferenceCollectionEvent event) {
T builder = (T) event.getMember();
QNameSet builderSpecQNames = ((AbstractNamespaceBuilder) builder).getSpecQNameSet();
specQNames = specQNames.intersect(builderSpecQNames.inverse());
QNameSet builderPlanQNames = ((AbstractNamespaceBuilder) builder).getPlanQNameSet();
planQNames = planQNames.intersect(builderPlanQNames.inverse());
XmlBeansUtil.unregisterSubstitutionGroupElements(basePlanElementName, builderPlanQNames);
}
});
}
for (T builder : this.builders) {