ClassicEngineBoot.getInstance().start();
final TreeMap allStyles = new TreeMap();
final ElementMetaData[] allTypes = ElementTypeRegistry.getInstance().getAllElementTypes();
for (int i = 0; i < allTypes.length; i++)
{
final ElementMetaData type = allTypes[i];
final String prefix = "element." + type.getName();
System.out.println(prefix + ".display-name=" + type.getName());
System.out.println(prefix + ".description="+ type.getName());
System.out.println(prefix + ".grouping=Group");
final AttributeMetaData[] attributes = type.getAttributeDescriptions();
for (int j = 0; j < attributes.length; j++)
{
final AttributeMetaData attribute = attributes[j];
final String attrNsPrefix = ElementTypeRegistry.getInstance().getNamespacePrefix(attribute.getNameSpace());
final String attrPrefix = "element." + type.getName() + ".attribute." +
attrNsPrefix + "." + attribute.getName();
System.out.println(attrPrefix + ".display-name=" + attribute.getName());
System.out.println(attrPrefix + ".description=" + attribute.getName());
System.out.println(attrPrefix + ".grouping=" + attrNsPrefix);
}
final StyleMetaData[] styles = type.getStyleDescriptions();
for (int j = 0; j < styles.length; j++)
{
final StyleMetaData style = styles[j];
allStyles.put(style.getName(), style);
}