Class UrlValidator

The UrlValidator validates the string argument
values are URLs. If the value is a URL, the string value in
the List of values is replaced with the
URL instance.
URLs can also be validated based on their scheme by using
the setProtocol method, or by using the specified
constructor.
The following example shows how to limit the valid values
for the site argument to 'https' URLs.