final ElementAlignmentValueConverter elementAlignmentValueConverter = new ElementAlignmentValueConverter();
final ElementAlignment horizontalAlignment = rootBandDefinition.getHorizontalAlignment();
if (horizontalAlignment != null)
{
attList.setAttribute(WizardCoreModule.NAMESPACE, "horizontal-align",
elementAlignmentValueConverter.toAttributeValue(horizontalAlignment));
}
final ElementAlignment verticalAlignment = rootBandDefinition.getVerticalAlignment();
if (verticalAlignment != null)
{
attList.setAttribute(WizardCoreModule.NAMESPACE, "vertical-align",