# File lib/openid/yadis/filters.rb, line 81
      def get_service_endpoints(yadis_url, service_element)
        endpoints = []

        # Do an expansion of the service element by xrd:Type and
        # xrd:URI
        Yadis::expand_service(service_element).each { |type_uris, uri, _|
          # Create a basic endpoint object to represent this
          # yadis_url, Service, Type, URI combination
          endpoint = BasicServiceEndpoint.new(
                yadis_url, type_uris, uri, service_element)

          e = apply_filters(endpoint)
          if !e.nil?
            endpoints << e
          end
        }
        return endpoints
      end