/**
  * end tag
  */
 function endTag($parser, $tag)
 {
     OWLTag::endTag($parser, $tag);
     if (!$this->wantsMore() && $this->should_add) {
         $this->model->createProperty($this->id, $this->domain, $this->range, $this->is_datatype);
     }
 }
 /**
  * end tag
  */
 function endTag($parser, $tag)
 {
     OWLTag::endTag($parser, $tag);
     //echoN("ENDTAG1:$tag");
     if (!$this->wantsMore()) {
         //echoN("ENDTAG2");
         $this->model->addProperty($this->id, $this->properties, "CLASS");
     }
 }
 /**
  * end tag
  */
 function endTag($parser, $tag)
 {
     OWLTag::endTag($parser, $tag);
     if (!$this->wantsMore()) {
         //echoN("$this->id, $this->class_id,");
         //preprint_r($this->properties);
         //echoN("INSTANCE_END_TAG");
         //preprint_r($this->properties);
         $this->model->addInstance($this->id, $this->class_id, $this->properties);
     }
 }