def METHOD_NAME(self, updateQuery, update_type, allowlistedDomains, specialForceHosts):
    buildTarget = updateQuery["buildTarget"]
    vendorXML = []
    for vendor in sorted(self.getVendorsForPlatform(buildTarget)):
        vendorInfo = self["vendors"][vendor]
        platformData = self.getPlatformData(vendor, buildTarget)
        url = platformData["fileUrl"]
        if isForbiddenUrl(url, updateQuery["product"], allowlistedDomains):
            continue
        vendorXML.append(
            '        <addon id="%s" URL="%s" hashFunction="%s" hashValue="%s" size="%s" version="%s"/>'
            % (vendor, url, self["hashFunction"], platformData["hashValue"], platformData["filesize"], vendorInfo["version"])
        )
    return vendorXML