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

        $this->setDOMElementAttribute($element, 'sourceIdentifier', $component->getSource());
        $this->setDOMElementAttribute($element, 'targetIdentifier', $component->getTarget());

        return $element;
    }