protected function getData($xpath)
    {
        $xpath = trim($xpath, '/');

        if (isset($this->data[$xpath])) {
            return $this->data[$xpath];
        }

        throw new EssenceException('Unregistered Element XPath: "/'.$xpath.'"');
    }
protected function getData($xpath)
    {
        $xpath = trim($xpath, '/');

        if (isset($this->data[$xpath])) {
            return $this->data[$xpath];
        }

        throw new EssenceException('Unregistered Element XPath: "/'.$xpath.'"');
    }
protected function getData ( $ xpath ) { $ xpath = trim ( $ xpath , '/' ) ; if ( isset ( $ this -> data [ $ xpath ] ) ) { return $ this -> data [ $ xpath ] ; } throw new EssenceException ( 'Unregistered Element XPath: "/' . $ xpath . '"' ) ; }
Get registered Element data

@param   string  $xpath Element XPath
@throws  EssenceException
@return  mixed
Get registered Element data