public class ResourceServiceProviderRegistryImpl extends java.lang.Object implements IResourceServiceProvider.Registry
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceServiceProviderRegistryImpl.InternalData |
IResourceServiceProvider.Registry.RegistryProviderINSTANCE| Constructor and Description |
|---|
ResourceServiceProviderRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContentTypeToFactoryMap() |
java.util.Map<java.lang.String,java.lang.Object> |
getExtensionToFactoryMap() |
java.util.Map<java.lang.String,java.lang.Object> |
getProtocolToFactoryMap() |
IResourceServiceProvider |
getResourceServiceProvider(org.eclipse.emf.common.util.URI uri)
Returns the resource factory appropriate for the given URI.
|
IResourceServiceProvider |
getResourceServiceProvider(org.eclipse.emf.common.util.URI uri,
java.lang.String contentType)
Returns the
IResourceServiceProvider appropriate for the given URI. |
public IResourceServiceProvider getResourceServiceProvider(org.eclipse.emf.common.util.URI uri, java.lang.String contentType)
IResourceServiceProvider.RegistryIResourceServiceProvider appropriate for the given URI. Content types are not yet
supported.getResourceServiceProvider in interface IResourceServiceProvider.Registryuri - the URI.contentType - the content type of the URI or null if a content type should not be used during
lookup.IResourceServiceProvider appropriate for the given URI, or null if there
isn't one.public java.util.Map<java.lang.String,java.lang.Object> getContentTypeToFactoryMap()
getContentTypeToFactoryMap in interface IResourceServiceProvider.Registrypublic java.util.Map<java.lang.String,java.lang.Object> getExtensionToFactoryMap()
getExtensionToFactoryMap in interface IResourceServiceProvider.Registrypublic java.util.Map<java.lang.String,java.lang.Object> getProtocolToFactoryMap()
getProtocolToFactoryMap in interface IResourceServiceProvider.Registrypublic IResourceServiceProvider getResourceServiceProvider(org.eclipse.emf.common.util.URI uri)
IResourceServiceProvider.Registry
An implementation will (typically) use the URI's scheme to search the
protocol map the URI's file extension to search
extension map, and the URI's
content type identifier to search the
content type map.
getResourceServiceProvider in interface IResourceServiceProvider.Registryuri - the URI.IResourceServiceProvider appropriate for the given URI, or null if there
isn't one.