public function buildElement($name = '', $value = '', $namespaceURI = '', $attributes = [])
    {
        return new DOMItem($this->getDOMDocument(), $name, $value, $namespaceURI, $attributes);
    }
public function buildElement($name = '', $value = '', $namespaceURI = '', $attributes = [])
    {
        return new DOMItem($this->getDOMDocument(), $name, $value, $namespaceURI, $attributes);
    }
public function buildElement ( $ name = '' , $ value = '' , $ namespaceURI = '' , $ attributes = [ ] ) { return new DOMItem ( $ this -> getDOMDocument ( ) , $ name , $ value , $ namespaceURI , $ attributes ) ; }
Build a DOM item.

@param string $name
@param string $value
@param string $namespaceURI
@param array  $attributes

@return DOMItem
@throws \InvalidArgumentException
Build a DOM item .