protected function marshall(QtiComponent $component)
    {
        $element = self::getDOMCradle()->createElement('br');

        if ($component->hasXmlBase() === true) {
            self::setXmlBase($element, $component->setXmlBase());
        }

        $this->fillElement($element, $component);

        return $element;
    }
protected function marshall(QtiComponent $component)
    {
        $element = self::getDOMCradle()->createElement('br');

        if ($component->hasXmlBase() === true) {
            self::setXmlBase($element, $component->setXmlBase());
        }

        $this->fillElement($element, $component);

        return $element;
    }
protected function marshall ( QtiComponent $ component ) { $ element = self :: getDOMCradle ( ) -> createElement ( 'br' ) ; if ( $ component -> hasXmlBase ( ) === true ) { self :: setXmlBase ( $ element , $ component -> setXmlBase ( ) ) ; } $ this -> fillElement ( $ element , $ component ) ; return $ element ; }
Marshall a Br object into a DOMElement object.

@param \qtism\data\QtiComponent $component A Br object.
@return \DOMElement The according DOMElement object.
@throws \qtism\data\storage\xml\marshalling\MarshallingException
Marshall a Br object into a DOMElement object .