public function setItem(\core_kernel_classes_Resource $item)
    {
        $this->item = $item;
        $this->loadXml($item);

        return $this;
    }
public function setItem(\core_kernel_classes_Resource $item)
    {
        $this->item = $item;
        $this->loadXml($item);

        return $this;
    }
public function setItem ( \ core_kernel_classes_Resource $ item ) { $ this -> item = $ item ; $ this -> loadXml ( $ item ) ; return $ this ; }
Set item to extract

@param \core_kernel_classes_Resource $item
@return $this
@throws ExtractorException
Set item to extract