public function marshall(QtiComponent $component)
    {
        $element = self::getDOMCradle()->createElement('modalFeedbackRule');
        $this->setDOMElementAttribute($element, 'outcomeIdentifier', $component->getOutcomeIdentifier());
        $this->setDOMElementAttribute($element, 'showHide', ShowHide::getNameByConstant($component->getShowHide()));
        $this->setDOMElementAttribute($element, 'identifier', $component->getIdentifier());
        
        if ($component->hasTitle() === true) {
            $this->setDOMElementAttribute($element, 'title', $component->getTitle());
        }

        return $element;
    }