'Returns an iterator of endpoint objects produced by the
filter functions.'

def getServiceEndpoints(self, yadis_url, service_element):

    endpoints = []
    for (type_uris, uri, _) in expandService(service_element):
        endpoint = BasicServiceEndpoint(yadis_url, type_uris, uri, service_element)
        e = self.applyFilters(endpoint)
        if (e is not None):
            endpoints.append(e)
    return endpoints
