Element loadBalancersSequenceElement = XmlUtility.getElementByTagNameNS(deploymentElement, "http://schemas.microsoft.com/windowsazure", "LoadBalancers");
if (loadBalancersSequenceElement != null) {
for (int i29 = 0; i29 < com.microsoft.windowsazure.core.utils.XmlUtility.getElementsByTagNameNS(loadBalancersSequenceElement, "http://schemas.microsoft.com/windowsazure", "LoadBalancer").size(); i29 = i29 + 1) {
org.w3c.dom.Element loadBalancersElement = ((org.w3c.dom.Element) com.microsoft.windowsazure.core.utils.XmlUtility.getElementsByTagNameNS(loadBalancersSequenceElement, "http://schemas.microsoft.com/windowsazure", "LoadBalancer").get(i29));
LoadBalancer loadBalancerInstance = new LoadBalancer();
result.getLoadBalancers().add(loadBalancerInstance);
Element nameElement11 = XmlUtility.getElementByTagNameNS(loadBalancersElement, "http://schemas.microsoft.com/windowsazure", "Name");
if (nameElement11 != null) {
String nameInstance11;
nameInstance11 = nameElement11.getTextContent();
loadBalancerInstance.setName(nameInstance11);
}
Element frontendIpConfigurationElement = XmlUtility.getElementByTagNameNS(loadBalancersElement, "http://schemas.microsoft.com/windowsazure", "FrontendIpConfiguration");
if (frontendIpConfigurationElement != null) {
FrontendIPConfiguration frontendIpConfigurationInstance = new FrontendIPConfiguration();
loadBalancerInstance.setFrontendIPConfiguration(frontendIpConfigurationInstance);
Element typeElement2 = XmlUtility.getElementByTagNameNS(frontendIpConfigurationElement, "http://schemas.microsoft.com/windowsazure", "Type");
if (typeElement2 != null) {
String typeInstance2;
typeInstance2 = typeElement2.getTextContent();