{
objectsToCreate = new HashMap<String, Attributes>();
Iterator<?> i = params.getPropertiesParamIterator();
while (i.hasNext())
{
PropertiesParam param = (PropertiesParam)i.next();
Map<String, String> prop = param.getProperties();
BasicAttributes attrs = new BasicAttributes();
Iterator<?> entries = prop.entrySet().iterator();
while (entries.hasNext())
{
Map.Entry entry = (Map.Entry)entries.next();
String key = (String)entry.getKey();
String value = (String)entry.getValue();
Attribute attr = attrs.get(key);
if (attr == null)
attrs.put(new BasicAttribute(key, value));
else
attr.add(value);
}
objectsToCreate.put(param.getName(), attrs);
}
}