protected function getHead()
    {
        $head = $this->getDocument()->createElement('head');
        $metahttp = $this->getDocument()->createElement('meta');
        $metahttp->setAttribute('http-equiv', 'Content-Type');
        $metahttp->setAttribute('content', 'text/html; charset=utf-8');
        $head->appendChild($metahttp);
        $head->appendChild($this->getDocument()->createElement('title', 'Generated List'));

        foreach ($this->getStylesheets() as $href) {
            $stylesheet = $this->getDocument()->createElement('link');
            $stylesheet->setAttribute('href', $href);
            $stylesheet->setAttribute('rel', 'stylesheet');
            $stylesheet->setAttribute('type', 'text/css');
            $head->appendChild($stylesheet);
        }

        return $head;
    }