/**
  * Constructor
  * @param string $a_type Document type
  * @param string $a_mime Document mime
  */
 public function __construct($a_type = self::DOCTYPE_XML, $a_mime = 'text/xml')
 {
     parent::__construct($a_type, $a_mime);
     $this->setDoctype('xml')->setVersion('1.0')->setCharset(parent::getCharset());
 }
 public function __construct()
 {
     parent::__construct(self::DOCTYPE_JSON, 'text/json');
 }
 public function __construct()
 {
     parent::__construct(self::DOCTYPE_JSON, 'application/json');
 }
 /**
  * Constructor
  * @param string $a_type Document type
  * @param string $a_mime Document mime
  */
 public function __construct($a_type = self::DOCTYPE_XML, $a_mime = 'text/xml')
 {
     parent::__construct($a_type, $a_mime);
     $this->m_document = new DOMDocument('1.0', 'utf-8');
     //$this->setVersion('1.0');->setEncoding('utf-8');
 }