if (roleListItem.getRoleType() != null) { Element roleTypeElement = requestDoc.createElementNS("http://schemas.microsoft.com/windowsazure", "RoleType"); roleTypeElement.appendChild(requestDoc.createTextNode(roleListItem.getRoleType())); roleElement.appendChild(roleTypeElement);
if (roleListItem.getRoleType() != null) { Element roleTypeElement = requestDoc.createElementNS("http://schemas.microsoft.com/windowsazure", "RoleType"); roleTypeElement.appendChild(requestDoc.createTextNode(roleListItem.getRoleType())); roleElement.appendChild(roleTypeElement);