public function setCurrentNamespace($sNamespace)
    {
        $this->sDirectory = '';
        $this->sExtension = '';
        if(key_exists($sNamespace, $this->aDirectories))
        {
            // Make sure there's only one '/' at the end of the string
            $this->sDirectory = rtrim($this->aDirectories[$sNamespace]['path'], '/') . '/';
            // Make sure there's only one '.' at the beginning of the string
            $this->sExtension = '.' . ltrim($this->aDirectories[$sNamespace]['ext'], '.');
        }
    }