|| (stateUIDL != null && stateUIDL.getChildCount() == 0)
|| (stateUIDL.getChildCount() > 0 && stateUIDL.getChildUIDL(0)
.getAttributeNames().size() == 0)) {
return null;
}
GwtStates state = GwtStates.create();
GwtHover hover = GwtHover.create();
state.setHover(hover);
UIDL hoverUIDL = stateUIDL.getChildUIDL(0);
if (hoverUIDL.hasAttribute("enabled")) {
hover.setEnabled(hoverUIDL.getBooleanAttribute("enabled"));
}
if (hoverUIDL.hasAttribute("lineWidth")) {