public function setRootElementAttributes($rootElementAttributes) { $this->rootElementAttributes = $rootElementAttributes; return $this; }