A registry of resource factories.
A registry implementation will typically delegate to the global instance, which can be used as follows
Resource.Factory.Registry. {@link Resource.Factory.Registry#INSTANCE INSTANCE}.getProtocolToFactoryMap(). put("abc", resourceFactoryForURIWithAbcProtocol); Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(). put("xyz", resourceFactoryForURIWithXyzFileExtension);
A {@link Resource.Factory.Descriptor descriptor} can be used in place of an actual {@link Resource.Factory factory}as a value in the map. It is used for factories registered via {@link org.eclipse.emf.ecore.plugin.EcorePlugin.Implementation#startup() plugin registration}to ensure delayed plugin load.
Clients must extend the default {@link org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl implementation}, since methods can and will be added to this API.
@see ResourceSet#getResourceFactoryRegistry()