def __init__(self, domReader=None, base_url=None):
        """domReader -- class must implement DOMAdapterInterface
           base_url -- base url string
        """
        self.__base_url = base_url
        self.__readerClass = domReader
        if not self.__readerClass:
            self.__readerClass = DOMAdapter
        self._includes = {}
        self._imports = {}
def __init__ ( self , domReader = None , base_url = None ) : self . __base_url = base_url self . __readerClass = domReader if not self . __readerClass : self . __readerClass = DOMAdapter self . _includes = { } self . _imports = { }
domReader -- class must implement DOMAdapterInterface
           base_url -- base url string