public function endElement($name)
    {
        if (self::DEBUG) {
            print("endElement(" . $name . ") called\n");
        }
        if ($name == "dataset") {
            if ($this->currBuilder !== null) {
                $this->sqlWriter->write($this->currBuilder->getTableEndSql());
            }
            $this->sqlWriter->write(call_user_func(array($this->builderClazz, 'getDatabaseEndSql')));
        }
    }
public function endElement($name)
    {
        if (self::DEBUG) {
            print("endElement(" . $name . ") called\n");
        }
        if ($name == "dataset") {
            if ($this->currBuilder !== null) {
                $this->sqlWriter->write($this->currBuilder->getTableEndSql());
            }
            $this->sqlWriter->write(call_user_func(array($this->builderClazz, 'getDatabaseEndSql')));
        }
    }
public function endElement ( $ name ) { if ( self :: DEBUG ) { print ( "endElement(" . $ name . ") called\n" ) ; } if ( $ name == "dataset" ) { if ( $ this -> currBuilder !== null ) { $ this -> sqlWriter -> write ( $ this -> currBuilder -> getTableEndSql ( ) ) ; } $ this -> sqlWriter -> write ( call_user_func ( array ( $ this -> builderClazz , 'getDatabaseEndSql' ) ) ) ; } }
Handles closing elements of the xml file.

@param   $name The local name (without prefix), or the empty string if
Namespace processing is not being performed.
Handles closing elements of the xml file .