for (int i = 0; i < children.size(); i++)
{
final Object o = children.get(i);
if (o instanceof ElementReadHandler)
{
final ElementReadHandler handler = (ElementReadHandler) o;
dataStyle.addNode(handler.getElement());
}
else if (o instanceof StaticText)
{
dataStyle.addNode((StaticText) o);
}