IURLProtocolHandlerFactory factory)
{
if (protocol == null)
throw new IllegalArgumentException("protocol required");
IURLProtocolHandlerFactory oldFactory;
if (factory == null)
oldFactory = mProtocols.remove(protocol);
else
oldFactory = mProtocols.put(protocol, factory);