}
if (uidl.hasAttribute("text")) {
creditOptions.setText(uidl.getStringAttribute("text"));
}
UIDL positionUIDL = uidl.getChildUIDL(0);
GwtPosition position = GwtPosition.create();
if (positionUIDL.hasAttribute("align")) {
position.setAlign(positionUIDL.getStringAttribute("align"));
}
if (positionUIDL.hasAttribute("verticalAlign")) {
position.setVerticalAlign(positionUIDL
.getStringAttribute("verticalAlign"));
}
if (positionUIDL.hasAttribute("x")) {
position.setX(positionUIDL.getIntAttribute("x"));
}
if (positionUIDL.hasAttribute("y")) {
position.setY(positionUIDL.getIntAttribute("y"));
}
creditOptions.setPosition(position);
VConsole.log("Exit [getCreditOptions]");
return creditOptions;