protected function unmarshall(DOMElement $element)
    {
        if (($identifier = $this->getDOMElementAttributeAs($element, 'identifier', 'string')) !== null) {
            $object = new MapResponsePoint($identifier);

            return $object;
        } else {
            $msg = "The mandatory attribute 'identifier' is missing from element '" . $element->localName . "'.";
            throw new UnmarshallingException($msg, $element);
        }
    }
protected function unmarshall(DOMElement $element)
    {
        if (($identifier = $this->getDOMElementAttributeAs($element, 'identifier', 'string')) !== null) {
            $object = new MapResponsePoint($identifier);

            return $object;
        } else {
            $msg = "The mandatory attribute 'identifier' is missing from element '" . $element->localName . "'.";
            throw new UnmarshallingException($msg, $element);
        }
    }
protected function unmarshall ( DOMElement $ element ) { if ( ( $ identifier = $ this -> getDOMElementAttributeAs ( $ element , 'identifier' , 'string' ) ) !== null ) { $ object = new MapResponsePoint ( $ identifier ) ; return $ object ; } else { $ msg = "The mandatory attribute 'identifier' is missing from element '" . $ element -> localName . "'." ; throw new UnmarshallingException ( $ msg , $ element ) ; } }
Unmarshall a DOMElement object corresponding to a QTI mapResponsePoint element.

@param \DOMElement $element A DOMElement object.
@return \qtism\data\QtiComponent A MapResponsePoint object.
@throws \qtism\data\storage\xml\marshalling\UnmarshallingException If the mandatory attributes 'identifier' is missing.
Unmarshall a DOMElement object corresponding to a QTI mapResponsePoint element .