public function getHTMLGeneratorInstance()
    {
        if (!isset($this->HTMLGenerator) || !$this->HTMLGenerator instanceof HTMLGenerator) {
            $this->HTMLGenerator = new HTMLGenerator();
            $this->HTMLConfig($this->HTMLGenerator);
        }

        return $this->HTMLGenerator;
    }