for (int i = 0;i < localChildProperties.length;i++){ if (localChildProperties[i] != null){ localChildProperties[i].serialize(new javax.xml.namespace.QName("http://api.user.carbon.wso2.org/xsd","childProperties"), xmlWriter); } else {
for (int i = 0;i < localAdvancedProperties.length;i++){ if (localAdvancedProperties[i] != null){ localAdvancedProperties[i].serialize(new javax.xml.namespace.QName("http://api.user.carbon.wso2.org/xsd","advancedProperties"), xmlWriter); } else { for (int i = 0;i < localMandatoryProperties.length;i++){ if (localMandatoryProperties[i] != null){ localMandatoryProperties[i].serialize(new javax.xml.namespace.QName("http://api.user.carbon.wso2.org/xsd","mandatoryProperties"), xmlWriter); } else { for (int i = 0;i < localOptionalProperties.length;i++){ if (localOptionalProperties[i] != null){ localOptionalProperties[i].serialize(new javax.xml.namespace.QName("http://api.user.carbon.wso2.org/xsd","optionalProperties"), xmlWriter); } else {