final Iterator attributeExIt = attrEx.entrySet().iterator();
while (attributeExIt.hasNext())
{
final Map.Entry entry = (Map.Entry) attributeExIt.next();
final String name = (String) entry.getKey();
final Expression expression = (Expression) entry.getValue();
try
{
expression.setRuntime(runtime);
final Object value = expression.computeValue();
attributes.setAttribute(namespace, name, value);
}
finally
{
expression.setRuntime(null);
}
}
}
return attributes;
}