You are here

protected function EasyRdf_Parser_RdfXml::endElementHandler in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php \EasyRdf_Parser_RdfXml::endElementHandler()

@ignore

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php, line 226

Class

EasyRdf_Parser_RdfXml
A pure-php class to parse RDF/XML.

Code

protected function endElementHandler($p, $t) {
  switch ($this->state) {
    case 1:
      return $this
        ->endState1($t);
    case 2:
      return $this
        ->endState2($t);
    case 3:
      return $this
        ->endState3($t);
    case 4:
      return $this
        ->endState4($t);
    case 5:
      return $this
        ->endState5($t);
    case 6:
      return $this
        ->endState6($t);
    default:
      throw new EasyRdf_Parser_Exception('endElementHandler() called at state ' . $this->state . ' in ' . $t);
  }
}