protected function unmarshall(DOMElement $element)
    {
        $component = new Col();

        if (($span = $this->getDOMElementAttributeAs($element, 'span', 'integer')) !== null) {
            $component->setSpan($span);
        }

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

        return $component;
    }
protected function unmarshall(DOMElement $element)
    {
        $component = new Col();

        if (($span = $this->getDOMElementAttributeAs($element, 'span', 'integer')) !== null) {
            $component->setSpan($span);
        }

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

        return $component;
    }
protected function unmarshall ( DOMElement $ element ) { $ component = new Col ( ) ; if ( ( $ span = $ this -> getDOMElementAttributeAs ( $ element , 'span' , 'integer' ) ) !== null ) { $ component -> setSpan ( $ span ) ; } $ this -> fillBodyElement ( $ component , $ element ) ; return $ component ; }
Unmarshall a DOMElement object corresponding to an XHTML col element.

@param \DOMElement $element A DOMElement object.
@return \qtism\data\QtiComponent A Col object.
@throws \qtism\data\storage\xml\marshalling\UnmarshallingException
Unmarshall a DOMElement object corresponding to an XHTML col element .