expressionsByGroup.add(grouping, metaData);
final StyleMetaData[] styleMetaDatas = metaData.getStyleDescriptions();
for (int j = 0; j < styleMetaDatas.length; j++)
{
final StyleMetaData propertyMetaData = styleMetaDatas[j];
final String propertyDisplayName = propertyMetaData.getDisplayName(locale);
if (isValid(propertyDisplayName, propertyMetaData.getName()) == false)
{
logger.warn("ElementType '" + typeName + ": Style " + propertyMetaData.getName() + ": No DisplayName");
}
final String propertyGrouping = propertyMetaData.getGrouping(locale);
if (isValid(propertyGrouping, "Group") == false)
{
logger.warn("ElementType '" + typeName + ": Style " + propertyMetaData.getName() + ": Grouping is not valid");
}
if (propertyMetaData.isDeprecated())
{
final String deprecateMessage = propertyMetaData.getDeprecationMessage(locale);
if (isValid(deprecateMessage, "Deprecated") == false)
{
logger.warn(
"ElementType '" + typeName + ": Style " + propertyMetaData.getName() + ": No valid deprecate message");
}
}
}
final AttributeMetaData[] attributeMetaDatas = metaData.getAttributeDescriptions();
for (int j = 0; j < attributeMetaDatas.length; j++)
{
final AttributeMetaData propertyMetaData = attributeMetaDatas[j];
final String propertyDisplayName = propertyMetaData.getDisplayName(locale);
if (isValid(propertyDisplayName, propertyMetaData.getName()) == false)
{
logger.warn("ElementType '" + typeName + ": Attr " + propertyMetaData.getName() + ": No DisplayName");
}
final String propertyGrouping = propertyMetaData.getGrouping(locale);
if (isValid(propertyGrouping, "Group") == false)
{
logger.warn("ElementType '" + typeName + ": Attr " + propertyMetaData.getName() + ": Grouping is not valid");
}
if (propertyMetaData.isDeprecated())
{
final String deprecateMessage = propertyMetaData.getDeprecationMessage(locale);
if (isValid(deprecateMessage, "Deprecated") == false)
{
logger.warn(
"ElementType '" + typeName + ": Attr " + propertyMetaData.getName() + ": No valid deprecate message");
}
}
}
System.err.flush();