public function parse($callbacks, LocatorInterface $locator)
    {
        $data = null;

        while ($this->read()) {
            if ($this->nodeType == \XMLReader::ELEMENT) {
                $child = $this->parseElement($this->name, $callbacks, $locator);
                $data  = $child;
                break;
            }
        }

        return $data;
    }