protected function _init()
 {
     parent::_init();
     if (isset($this->_element[AtomNS::PUBLISHED_ELEMENT][0])) {
         $this->_published = new AtomDateConstructAdapter(AtomNS::PUBLISHED_ELEMENT, $this->_element[AtomNS::PUBLISHED_ELEMENT][0]);
     }
     if (isset($this->_element[AtomNS::CONTENT_ELEMENT][0])) {
         $this->_content = new AtomContentAdapter($this->_element[AtomNS::CONTENT_ELEMENT][0]);
     }
     if (isset($this->_element[AtomNS::SUMMARY_ELEMENT][0])) {
         $this->_summary = new AtomTextConstructAdapter(AtomNS::SUMMARY_ELEMENT, $this->_element[AtomNS::SUMMARY_ELEMENT][0]);
     }
 }
 protected function _init()
 {
     parent::_init();
     $this->_entry = array();
     if (isset($this->_element[AtomNS::ENTRY_ELEMENT])) {
         foreach ($this->_element[AtomNS::ENTRY_ELEMENT] as $entry) {
             $this->_entry[] = new AtomEntryAdapter($entry);
         }
     }
     if (isset($this->_element[AtomNS::GENERATOR_ELEMENT][0])) {
         $this->_generator = new AtomGeneratorAdapter($this->_element[AtomNS::GENERATOR_ELEMENT][0]);
     }
 }