1 /*global $k*/
  2 
  3 /**
  4  * @class Represents a text document
  5 **/
  6 $k.TextDocument = function() { };
  7 
  8 /**
  9  * Print a CR
 10  *
 11  * @function
 12 **/
 13 $k.TextDocument.prototype.cr = function() { };
 14 
 15 /**
 16  * Print the object on the script document
 17  *
 18  * @function
 19  * @param object Object to print. Will be converted with toString().
 20 **/
 21 $k.TextDocument.prototype.print = function(object) { };
 22 
 23 /**
 24  * Print the object on the script document and adds a line break
 25  *
 26  * @function
 27  * @param object Object to print. Will be converted with toString().
 28 **/
 29 $k.TextDocument.prototype.println = function(object) { };
 30 
 31 /**
 32  * Print a tab
 33  *
 34  * @function
 35 **/
 36 $k.TextDocument.prototype.tab = function() { };
 37 
 38 /**
 39  * Get the contents as string
 40  *
 41  * @function
 42  * @returns {string}
 43  * @throws {$k.exception.TypeError} If the document is based on an external stream (file etc.)
 44 **/
 45 $k.TextDocument.prototype.text = function() { };
 46 
 47 /**
 48  * Returns an XML writer that writes on this document
 49  *
 50  * @function
 51  * @throws {$k.exception.TypeError} If the document is not stream-based
 52  * @returns {$k.XMLWriter}
 53 **/
 54 $k.TextDocument.prototype.xmlWriter = function() { };
 55 
 56