protected function marshall(QtiComponent $component)
    {
        $element = static::getDOMCradle()->createElement($component->getQtiClassName());

        $this->setDOMElementAttribute($element, 'mapKey', $component->getMapKey());
        $this->setDOMElementAttribute($element, 'mappedValue', $component->getMappedValue());
        
        if (Version::compare($this->getVersion(), '2.0.0', '>') === true) {
            $this->setDOMElementAttribute($element, 'caseSensitive', $component->isCaseSensitive());
        }

        return $element;
    }