text: /*
   * @package jsDAV
   * @subpackage DAV
   * @copyright Copyright(c) 2011 Ajax.org B.V. <info AT ajax DOT org>
   * @author Mike de Boer <info AT mikedeboer DOT nl>
   * @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License
   */
  "use strict";
  
  var jsDAV = require("./../jsdav");
  
  /**
   * The iCollection Interface
   *
   * This interface should be implemented by each class that represents a collection
   */
  function jsDAV_iCollection() {
      this.REGBASE = this.REGBASE | jsDAV.__ICOLLECTION__;
  
      /**
       * Creates a new file in the directory
       *
       * data is a readable stream resource
       *
       * @param string name Name of the file
       * @param resource data Initial payload
       * @return void
       */
      this.createFile = function() {};
  
      /**
       * Creates a new subdirectory
       *
       * @param string name
       * @return void
       */
      this.createDirectory = function() {};
  
      /**
       * Returns a specific child node, referenced by its name
       *
       * @param string name
       * @return jsDAV_INode
       */
      this.getChild = function() {};
  
      /**
       * Returns an array with all the child nodes
       *
       * @return jsDAV_INode[]
       */
      this.getChildren = function() {};
  }
  
  exports.jsDAV_iCollection = jsDAV_iCollection;
  