     @rest = @inventoryUpdater.rest
     @
 
-  /**
-   * Fetch inventory items from Sphere and export xml files for all inventory items.
-   * @param {string} msg The message to process.
-   * @param {hash} cfg The component's configuration.
-   * @param {function} next The callback function to be invoked when the component finished its work.
-   * @param {string} snapshot The optional snapshot parameter which is used by a component for deduplication.
-   * @return The result of the callback.
-   */
+  ###
+  Fetch inventory items from Sphere and export xml files for all inventory items.
+  @param {string} msg The message to process.
+  @param {hash} cfg The component's configuration.
+  @param {function} next The callback function to be invoked when the component finished its work.
+  @param {string} snapshot The optional snapshot parameter which is used by a component for deduplication.
+  @return The result of the callback.
+  ###
   elasticio: (msg, cfg, next, snapshot) ->
     @returnResult false, 'Not yet implemented', next
 
-  /**
-   * Fetch inventory items from Sphere and create xml for all inventory items.
-   * @param {function} callback The callback function to be invoked when the method finished its work.
-   * @return The result of the callback.
-   */
+  ###
+  Fetch inventory items from Sphere and create xml for all inventory items.
+  @param {function} callback The callback function to be invoked when the method finished its work.
+  @return The result of the callback.
+  ###
   run: (callback) ->
     @inventoryUpdater.allInventoryEntries(@rest).then (allInventoryEntries) =>
       xml = @createXml()

    .fail (msg) ->
      @returnResult false, msg, callback

  /**
   * Creates an XML instance.
   * @return {number} The result of adding num1 and num2.
   */
  createXml: () ->
    ops =
      version: '1.0'

CommonUpdater = require('sphere-node-sync').CommonUpdater
InventoryUpdater = require('sphere-node-sync').InventoryUpdater


###
Elastic.io component exporting inventory items from Sphere.io.
For each inventory item a XML file will be written.
###
class StockExport extends CommonUpdater
  constructor: (options = {}) ->
    super options
