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

        $this->setDOMElementAttribute($element, 'sourceValue', $component->getSourceValue());
        $this->setDOMElementAttribute($element, 'targetValue', $component->getTargetValue());

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

        $this->setDOMElementAttribute($element, 'sourceValue', $component->getSourceValue());
        $this->setDOMElementAttribute($element, 'targetValue', $component->getTargetValue());

        return $element;
    }
protected function marshall ( QtiComponent $ component ) { $ element = static :: getDOMCradle ( ) -> createElement ( $ component -> getQtiClassName ( ) ) ; $ this -> setDOMElementAttribute ( $ element , 'sourceValue' , $ component -> getSourceValue ( ) ) ; $ this -> setDOMElementAttribute ( $ element , 'targetValue' , $ component -> getTargetValue ( ) ) ; return $ element ; }
Marshall a MatchTableEntry object into a DOMElement object.

@param \qtism\data\QtiComponent $component A MatchTableEntry object.
@return \DOMElement The according DOMElement object.
Marshall a MatchTableEntry object into a DOMElement object .