public function __construct($entry = null, $isInsert = false)
 {
     $this->isInsert = $isInsert;
     if (is_null($entry)) {
         parent::__construct();
     } elseif ($entry instanceof SimpleXMLElement) {
         $this->elements = $entry;
     } else {
         parent::__construct($entry);
     }
 }
 public function publish()
 {
     $this->setGenerator('OpenPNE', 'http://www.openpne.jp/');
     return parent::publish();
 }