final Map attrsNs = attributeExpressions.getAttributes(namespace);
final Iterator it = attrsNs.entrySet().iterator();
while (it.hasNext())
{
final Map.Entry entry = (Map.Entry) it.next();
final Expression exp = (Expression) entry.getValue();
e.attributeExpressions.setAttribute(namespace, (String) entry.getKey(), exp.getInstance());
}
}
}
if (styleExpressions != null)
{
e.styleExpressions = (HashMap) styleExpressions.clone();
final Iterator styleExpressionsIt =
e.styleExpressions.entrySet().iterator();
while (styleExpressionsIt.hasNext())
{
final Map.Entry entry = (Map.Entry) styleExpressionsIt.next();
final Expression exp = (Expression) entry.getValue();
entry.setValue(exp.getInstance());
}
}
return e;