Set the URI for a format object
string $uri The new URI for the format:
public function setUri($uri) {
if ($uri) {
if (!is_string($uri)) {
throw new InvalidArgumentException("\$uri should be a string");
}
return $this->uri = $uri;
}
else {
return $this->uri = null;
}
}