addAttributeGroup((AttributeGroup) entry.getValue());
continue;
}
final AttributeGroup entryGroup = (AttributeGroup) entry.getValue();
final String name = styleGroup.getName();
final LinkedMap styles = new LinkedMap();
final AttributeDefinition[] data = styleGroup.getMetaData();
for (int i = 0; i < data.length; i++)
{
final AttributeDefinition handler = data[i];
styles.put(handler.getName(), handler);
}
final AttributeDefinition[] entryData = entryGroup.getMetaData();
for (int i = 0; i < entryData.length; i++)
{
final AttributeDefinition handler = entryData[i];
styles.put(handler.getName(), handler);
}
addAttributeGroup(new AttributeGroup(name,
(AttributeDefinition[]) styles.values(new AttributeDefinition[styles.size()])));
}
}