public override Object GetEntity(Uri absoluteUri,
string role,
Type ofObjectToReturn) {
if (ofObjectToReturn == null || ofObjectToReturn == typeof(System.IO.Stream)) {
return DownloadManager.GetStream(absoluteUri, _credentials);
}
else {
throw new XmlException(Res.Xml_UnsupportedClass, string.Empty);
}
}