# Path: pyfeld/upnpService.py
# class UpnpService:
#     def __init__(self):
#         self.services_list = list()
#         self.xml_location = ""
#         self.network_location = ""
# 
#     def set_location(self, location):
#         self.xml_location = location
#         result = urllib3.util.parse_url(location)
#         self.network_location = result.netloc
#         self.services_list = Services.get_services_from_location(location)
# 
#     def get_network_location(self):
#         return self.network_location
# 
#     def get_services_list(self):
#         return self.services_list


from pyfeld.upnpService import UpnpService

from __future__ import unicode_literals


class Renderer:
    def __init__(self, udn, name, location):
        self.name = name
        self.udn = udn
        self.upnp_service = None
        self.location = location

    def set_name(self, name):
        self.name = name

    def get_name(self):
        return self.name

    def get_location(self):
        return self.location

    def get_udn(self):
        return self.udn

    def set_upnp_service(self, location):

# Path: pyfeld/upnpService.py
# class UpnpService:
#     def __init__(self):
#         self.services_list = list()
#         self.xml_location = ""
#         self.network_location = ""
# 
#     def set_location(self, location):
#         self.xml_location = location
#         result = urllib3.util.parse_url(location)
#         self.network_location = result.netloc
#         self.services_list = Services.get_services_from_location(location)
# 
#     def get_network_location(self):
#         return self.network_location
# 
#     def get_services_list(self):
#         return self.services_list


# Path: pyfeld/renderer.py
from pyfeld.upnpService import UpnpService


from __future__ import unicode_literals


class Renderer:
    def __init__(self, udn, name, location):
        self.name = name
        self.udn = udn
        self.upnp_service = None
        self.location = location

    def set_name(self, name):
        self.name = name

    def get_name(self):
        return self.name

    def get_location(self):
        return self.location

    def get_udn(self):
        return self.udn

    def set_upnp_service(self, location):

        self.upnp_service = UpnpService()