protected function fireCurrentAttributesCallbacks($attributes)
    {
        foreach ($attributes as $key => $val) {
            $path = $this->currentPath . '@' . strtolower($key) . '/';

            if (isset($this->callbacks[$path])) {
                foreach ($this->callbacks[$path] as $callback) {
                    call_user_func_array($callback, array($this, $val));
                }
            }
        }
    }