You are here

protected function EasyRdf_Parser_RdfXml::startElementHandler 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::startElementHandler()

@ignore

File

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

Class

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

Code

protected function startElementHandler($p, $t, $a) {
  switch ($this->state) {
    case 0:
      return $this
        ->startState0($t, $a);
    case 1:
      return $this
        ->startState1($t, $a);
    case 2:
      return $this
        ->startState2($t, $a);
    case 4:
      return $this
        ->startState4($t, $a);
    case 5:
      return $this
        ->startState5($t, $a);
    case 6:
      return $this
        ->startState6($t, $a);
    default:
      throw new EasyRdf_Parser_Exception('startElementHandler() called at state ' . $this->state . ' in ' . $t);
  }
}