protected function displayNext()
    {
        if ($this->next_page > 0) {
            $link = $this->getLink();

            $anchor = new SwatHtmlTag('a');
            $anchor->href = sprintf($link, (string) $this->next_page);
            // this is a non-breaking space
            $anchor->setContent($this->next_label);
            $anchor->class = 'swat-pagination-nextprev';
            $anchor->display();
        } else {
            $span = new SwatHtmlTag('span');
            $span->class = 'swat-pagination-nextprev';
            // this is a non-breaking space
            $span->setContent($this->next_label);
            $span->display();
        }
    }