e.setStyleExpression(handler.getStyleKey(), handler.getExpression());
}
for (int i = 0; i < stylePropertyHandlers.size(); i++)
{
final PropertyReadHandler handler =
(PropertyReadHandler) stylePropertyHandlers .get(i);
e.getStyle().setPropertyValueAsString(handler.getName(), handler.getResult());
}
for (int i = 0; i < attributeExpressionHandlers.size(); i++)
{
final AttributeExpressionReadHandler handler =
(AttributeExpressionReadHandler) attributeExpressionHandlers .get(
i);
e.setAttributeExpression(handler.getAttributeName(),
handler.getExpression());
}
for (int i = 0; i < attributeHandlers.size(); i++)
{
final AttributeReadHandler handler =
(AttributeReadHandler) attributeHandlers .get(i);
e.setAttribute(handler.getNamespace(), handler.getName(), handler.getObject());
}
e.setEnabled(enabled);
e.setVirtual(virtual);
if (style != null)
{