/**
  * @param ItemInterface $item
  * @param array $values
  */
 protected function renderAttributeMapping(ItemInterface $item, array $values)
 {
     foreach ($this->attributeMapping[static::ATTRIBUTE_TYPE_LABEL] as $name => $mapping) {
         /** @var IAttribute $attribute */
         $attribute = $mapping['attribute'];
         $colName = $attribute->getColName();
         $item->setLabelAttribute($name, specialchars($values[$mapping['format']][$colName]));
     }
     foreach ($this->attributeMapping[static::ATTRIBUTE_TYPE_LINK] as $name => $mapping) {
         /** @var IAttribute $attribute */
         $attribute = $mapping['attribute'];
         $colName = $attribute->getColName();
         $item->setLinkAttribute($name, specialchars($values[$mapping['format']][$colName]));
     }
     foreach ($this->attributeMapping[static::ATTRIBUTE_TYPE_ITEM] as $name => $mapping) {
         /** @var IAttribute $attribute */
         $attribute = $mapping['attribute'];
         $colName = $attribute->getColName();
         $item->setAttribute($name, specialchars($values[$mapping['format']][$colName]));
     }
 }