protected function unmarshall(DOMElement $element)
    {
        $outcomeRuleElts = self::getChildElements($element);

        $outcomeRules = new OutcomeRuleCollection();
        for ($i = 0; $i < count($outcomeRuleElts); $i++) {
            $marshaller = $this->getMarshallerFactory()->createMarshaller($outcomeRuleElts[$i]);
            $outcomeRules[] = $marshaller->unmarshall($outcomeRuleElts[$i]);
        }

        $object = new OutcomeProcessing($outcomeRules);

        return $object;
    }
protected function unmarshall(DOMElement $element)
    {
        $outcomeRuleElts = self::getChildElements($element);

        $outcomeRules = new OutcomeRuleCollection();
        for ($i = 0; $i < count($outcomeRuleElts); $i++) {
            $marshaller = $this->getMarshallerFactory()->createMarshaller($outcomeRuleElts[$i]);
            $outcomeRules[] = $marshaller->unmarshall($outcomeRuleElts[$i]);
        }

        $object = new OutcomeProcessing($outcomeRules);

        return $object;
    }
protected function unmarshall ( DOMElement $ element ) { $ outcomeRuleElts = self :: getChildElements ( $ element ) ; $ outcomeRules = new OutcomeRuleCollection ( ) ; for ( $ i = 0 ; $ i < count ( $ outcomeRuleElts ) ; $ i ++ ) { $ marshaller = $ this -> getMarshallerFactory ( ) -> createMarshaller ( $ outcomeRuleElts [ $ i ] ) ; $ outcomeRules [ ] = $ marshaller -> unmarshall ( $ outcomeRuleElts [ $ i ] ) ; } $ object = new OutcomeProcessing ( $ outcomeRules ) ; return $ object ; }
Unmarshall a DOMElement object corresponding to a QTI outcomeProcessing element.

@param \DOMElement $element A DOMElement object.
@return \qtism\data\QtiComponent An OutcomeProcessing object.
@throws \qtism\data\storage\xml\marshalling\UnmarshallingException
Unmarshall a DOMElement object corresponding to a QTI outcomeProcessing element .