Iterator<Entry<String, Descriptor>> propertyIterator = declaration.iterator();
while (propertyIterator.hasNext())
{
Entry<String, Descriptor> entry = propertyIterator.next();
Descriptor descriptor = entry.getValue();
String propertyName = dehyphenize(descriptor.getName());
try
{
if (propertyName.equals("fontFamily"))
{
processFontFamily(properties, descriptor);
}
else
{
processPropertyDescriptor(propertyName, descriptor, properties, effectsStyles);
}
}
catch (CompilerError compilerError)
{
compilerError.setPath(descriptor.getPath());
compilerError.setLine(descriptor.getLineNumber());
ThreadLocalToolkit.log(compilerError);
}
}
}