if (h != null) h.remove(name);
}
}
private void hashNames(String descriptorName) {
CaselessStringKey key = new CaselessStringKey(descriptorName);
Vector c = (Vector)properties.get(key);
Vector s = (Vector)suppressed.get(key);
Hashtable h = new Hashtable();
propNames.put(key, h);
if (c != null) {
PropertyGenerator pg;
String names[];
for (Iterator it = c.iterator(); it.hasNext(); ) {
pg = (PropertyGenerator)it.next();
names = pg.getPropertyNames();
for (int i=0; i<names.length; i++) {
CaselessStringKey name =
new CaselessStringKey(names[i]);
// Don't add a property that was suppressed
if ((s == null) || !s.contains(name)) {
h.put(name, pg);
}
}
}
}
Hashtable htable = (Hashtable)sourceForProp.get(key);
if (htable != null) {
for (Enumeration e = htable.keys(); e.hasMoreElements(); ) {
CaselessStringKey name = (CaselessStringKey)e.nextElement();
int i = ((Integer)htable.get(name)).intValue();
PropertyGenerator generator = new
PropertyGeneratorFromSource(i, name.getName());
h.put(name, generator);
}
}
}