/**
  * Register a $renderer object to a given $qtiClassName.
  *
  * @param string $qtiClassName A QTI class name.
  * @param AbstractRenderer $renderer An AbstractRenderer object.
  */
 public function registerRenderer($qtiClassName, AbstractMarkupRenderer $renderer)
 {
     $renderer->setRenderingEngine($this);
     $renderers = $this->getRenderers();
     $renderers[$qtiClassName] = $renderer;
     $this->setRenderers($renderers);
 }
 /**
  * Create a new AbstractXhtmlRenderer object.
  *
  * @param \qtism\runtime\rendering\markup\AbstractMarkupRenderingEngine $renderingEngine
  */
 public function __construct(AbstractMarkupRenderingEngine $renderingEngine = null)
 {
     parent::__construct($renderingEngine);
 }