<?php
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */

include_once './Services/Export/classes/class.ilXmlExporter.php';
include_once './Services/ContainerReference/classes/class.ilContainerReferenceExporter.php';

/**
 * Class for category export
 * 
 * @author Stefan Meyer <smeyer.ilias@gmx.de>
 * $Id: class.ilCategoryReferenceExporter.php 35412 2012-07-06 10:28:29Z smeyer $
 */
class ilCategoryReferenceExporter extends ilContainerReferenceExporter
{

	/**
	 * Init xml writer
	 * @param ilContainerReference $ref
	 * @return ilCategoryXmlWriter 
	 */
	protected function initWriter(ilContainerReference $ref)
	{
		include_once './Modules/CategoryReference/classes/class.ilCategoryReferenceXmlWriter.php';
		return new ilCategoryReferenceXmlWriter($ref);
	}
}
?>
